refactored search
This commit is contained in:
@@ -33,7 +33,7 @@ class PostFlagsControllerTest < ActionController::TestCase
|
||||
|
||||
context "with search parameters" do
|
||||
should "render" do
|
||||
get :index, {:search => {:post_id_equals => @post_flag.post_id}}, {:user_id => @user.id}
|
||||
get :index, {:search => {:post_id => @post_flag.post_id}}, {:user_id => @user.id}
|
||||
assert_response :success
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user