1) Failure:
test_should_redirect_after_login_with_return_url(AccountControllerTest)
[/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/assertions/response_assertions.rb:86:in `assert_redirected_to'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/assertions/response_assertions.rb:35:in `assert_redirected_to'
./test/functional/account_controller_test.rb:39:in `test_should_redirect_after_login_with_return_url']:
response is not a redirection to all of the options supplied (redirection is <{"controller"=>"story"}>), difference: <{"action"=>"new"}>
2) Error:
test_should_accept_vote(StoryControllerTest):
StandardError: No fixture with name 'another' found for table 'stories'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/active_record/fixtures.rb:491:in `stories'
./test/functional/story_controller_test.rb:65:in `test_should_accept_vote'
3) Error:
test_should_add_story(StoryControllerTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.new_record?
./test/functional/story_controller_test.rb:40:in `test_should_add_story'
4) Failure:
test_should_indicate_logged_in_user(StoryControllerTest) [./test/functional/story_controller_test.rb:99]:
<#<User:0x2b133b623b70
@attributes=
{"name"=>"Paul Gisbourne",
"id"=>"1",
"password"=>"phili121",
"login"=>"paulgis",
"email"=>"paul_gis@hotmail.com"}>> expected but was
<nil>.
5) Error:
test_should_reject_missing_story_attribute(StoryControllerTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.errors
./test/functional/story_controller_test.rb:47:in `test_should_reject_missing_story_attribute'
6) Failure:
test_should_show_new(StoryControllerTest)
[/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/assertions/response_assertions.rb:26:in `assert_response'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/assertions/response_assertions.rb:18:in `assert_response'
./test/functional/story_controller_test.rb:25:in `test_should_show_new']:
Expected response to be a <:success>, but was <302>
7) Failure:
test_should_show_new_form(StoryControllerTest)
[/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/assertions/selector_assertions.rb:281:in `assert_select'
./test/functional/story_controller_test.rb:32:in `test_should_show_new_form']:
Expected at least 3 elements, found 0.
<false> is not true.
8) Error:
test_should_store_user_with_story(StoryControllerTest):
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.user
./test/functional/story_controller_test.rb:114:in `test_should_store_user_with_story'
21 tests, 42 assertions, 4 failures, 4 errors
Bookmarks