From 682628cda8f4a25f81241769f6bf0aaf976b4ed4 Mon Sep 17 00:00:00 2001 From: Aga Dufrat Date: Thu, 6 Oct 2022 10:28:33 +0100 Subject: [PATCH] Update remaining occurrences of deprecated Plek.current --- test/controllers/get_involved_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers/get_involved_controller_test.rb b/test/controllers/get_involved_controller_test.rb index 6e363fc9d..9144ec461 100644 --- a/test/controllers/get_involved_controller_test.rb +++ b/test/controllers/get_involved_controller_test.rb @@ -96,7 +96,7 @@ def setup private def stub_search_query(query:, response:) - stub_request(:get, /\A#{Plek.current.find('search')}\/search.json/) + stub_request(:get, /\A#{Plek.new.find('search')}\/search.json/) .with(query: query) .to_return(body: response.to_json) end