From b8c827c6bbe27fcc3052d5087182b32175e740e2 Mon Sep 17 00:00:00 2001 From: manu vasconcelos Date: Wed, 24 Jan 2024 12:19:28 -0300 Subject: [PATCH] test query for failing test / stub request --- test/models/parser/twitter_profile_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/models/parser/twitter_profile_test.rb b/test/models/parser/twitter_profile_test.rb index a5422f68..83fd71fa 100644 --- a/test/models/parser/twitter_profile_test.rb +++ b/test/models/parser/twitter_profile_test.rb @@ -91,7 +91,7 @@ def stub_profile_lookup test "it makes a get request to the user lookup by username endpoint successfully" do stub_configs({'twitter_bearer_token' => 'test' }) - WebMock.stub_request(:get, "https://api.twitter.com/2/users/by") + WebMock.stub_request(:any, "https://api.twitter.com/2/users/by") .with(query: query) .with(headers: { "Authorization": "Bearer test",