refactored search

This commit is contained in:
albert
2013-01-10 17:45:52 -05:00
parent 13271e9bf5
commit 8749c43b3e
85 changed files with 946 additions and 304 deletions

View File

@@ -35,7 +35,7 @@ class IpBansControllerTest < ActionController::TestCase
context "with search parameters" do
should "render" do
get :index, {:search => {:ip_addr_equals => "1.2.3.4"}}, {:user_id => @admin.id}
get :index, {:search => {:ip_addr => "1.2.3.4"}}, {:user_id => @admin.id}
assert_response :success
end
end