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