Displaying 1 result from an estimated 1 matches for "test_should_create_vot".
Did you mean:
test_should_create_vote
2008 Feb 05
1
Functional Test has error when testing controller updates_attribute of its parrent.
I am working in Rails 2.0 and I have the following functional test.
class VotesControllerTest < ActionController::TestCase
def test_should_create_vote
assert_difference(''Vote.count'') do
post :create, {:vote => {:vote_value => 5,
:user_id => users(:nick).id,
:entry_id => entries(:BmxEntry).id}},
:user_id => users(:nick).id...