Displaying 1 result from an estimated 1 matches for "bonacod".
Did you mean:
bonacode
2009 Apr 30
1
error with test:functionals
...t" do
assert_difference(''Artist.count'', difference = 1) do
post :create, :artist => { }
end
assert_redirected_to artist_path(assigns(:artist))
end
and this is my failure message:
1) Failure:
test_should_create_artist(ArtistsControllerTest)
[/Users/bonacode/Desktop/arteacesso-br/arteacesso/vendor/rails/
activesupport/lib/active_support/testing/core_ext/test/unit/
assertions.rb:51:in `assert_difference''
(eval):3:in `each_with_index''
/Users/bonacode/Desktop/arteacesso-br/arteacesso/vendor/rails/
activesupport/lib/active_supp...