tests: fix iqdb controller test (#3479).

This commit is contained in:
evazion
2018-01-20 13:22:05 -06:00
parent ce06736374
commit c29785268d

View File

@@ -28,7 +28,7 @@ class IqdbQueriesControllerTest < ActionController::TestCase
should "render for a json response" do
mock_iqdb_matches!(@posts[0].source, @posts)
get :index, { url: @posts[0].source, format: "json" }, { user_id: @user.id }
get :show, { url: @posts[0].source, format: "json" }, { user_id: @user.id }
assert_response :success
end