diff --git a/test/functional/iqdb_queries_controller_test.rb b/test/functional/iqdb_queries_controller_test.rb index 2313cb766..c996e8d42 100644 --- a/test/functional/iqdb_queries_controller_test.rb +++ b/test/functional/iqdb_queries_controller_test.rb @@ -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