stubbed in pool controller test

This commit is contained in:
albert
2011-01-20 18:30:36 -05:00
parent d84818366b
commit cd451109e8
12 changed files with 131 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ class NotesControllerTest < ActionController::TestCase
should "destroy a note" do
assert_difference("Note.count", -1) do
post :destroy, {:id => @note.id}
post :destroy, {:id => @note.id}, {:user_id => @user.id}
end
end
end