From c29785268d91ccb82c53c2e7cfd0639c9aeeba47 Mon Sep 17 00:00:00 2001 From: evazion Date: Sat, 20 Jan 2018 13:22:05 -0600 Subject: [PATCH] tests: fix iqdb controller test (#3479). --- test/functional/iqdb_queries_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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