fixed tests

This commit is contained in:
albert
2011-10-22 19:01:27 -04:00
parent 5444ad5107
commit 0de90d487b
10 changed files with 19 additions and 24 deletions

View File

@@ -48,7 +48,7 @@ class IpBansControllerTest < ActionController::TestCase
should "destroy an ip ban" do
assert_difference("IpBan.count", -1) do
post :destroy, {:id => @ip_ban.id}, {:user_id => @admin.id}
post :destroy, {:id => @ip_ban.id, :format => "js"}, {:user_id => @admin.id}
end
end
end