search for: sessions_controller_test

Displaying 3 results from an estimated 3 matches for "sessions_controller_test".

2012 Mar 14
0
How do I create a new object in testing to test a controller?
...e it''s persisted post :create, post: { email: "user-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org" } assert_equal "ok, it exists", flash.now[:notice] end end And this is the execution flow: > $ bundle exec rake db:test:prepare $ ruby -Itest test/functional/sessions_controller_test.rb -n test_object_creation Run options: -n test_object_creation # Running tests: F Finished tests in 0.235903s, 4.2390 tests/s, 12.7171 assertions/s. 1) Failure: test_object_creation(SessionsControllerTest) [test/functional/sessions_controller_test.rb:13]: <"ok, it exists">...
2012 Feb 11
1
rake command shows the error
...t; "test/functional/moderate_controller_test.rb" "test/functional/content_controller_test.rb" "test/functional/homepage_controller_test.rb" "test/functional/users_controller_test.rb" "test/functional/private_controller_test.rb" "test/functional/sessions_controller_test.rb" "test/functional/api/photo_controller_test.rb" "test/functional/api/application_controller_test.rb" "test/functional/api/photos_controller_test.rb" /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:105:in `const_missing'...
2010 Nov 05
0
RoR:OSV: Installation issue
...r/bin/ruby1.8 -I"lib:test" "/var/lib/gems/1.8/gems/rake-0.8.7/lib/ rake/rake_test_loader.rb" "test/functional/ moderate_controller_test.rb" "test/functional/ private_controller_test.rb" "test/functional/main_controller_test.rb" "test/functional/sessions_controller_test.rb" "test/functional/ upload_controller_test.rb" "test/functional/users_controller_test.rb" "test/functional/api/photo_controller_test.rb" "test/functional/api/ photos_controller_test.rb" "test/functional/api/ application_controller_test.rb" &q...