fix functional tests

This commit is contained in:
r888888888
2013-04-18 21:10:57 -07:00
parent a33e76f7e2
commit 9ec746b952
8 changed files with 13 additions and 13 deletions

View File

@@ -69,7 +69,7 @@ class NotesControllerTest < ActionController::TestCase
end
should "revert to a previous version" do
post :revert, {:id => @note.id, :version_id => @note.versions(true).first.id}
post :revert, {:id => @note.id, :version_id => @note.versions(true).first.id}, {:user_id => @user.id}
@note.reload
assert_equal("000", @note.body)
end