We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ERB::Util
1 parent 9762916 commit 62d81ddCopy full SHA for 62d81dd
test/service_consumers/pact_helper.rb
@@ -20,8 +20,6 @@ def self.generate(_opts = {})
20
config.include FactoryBot::Syntax::Methods
21
end
22
23
-delegate :url_encode, to: :'ERB::Util'
24
-
25
def stub_access_token_creation!
26
# This stubs Doorkeeper so can ensure the token we generate is predictable, so we can run
27
# the Pact tests with a dummy bearer token
@@ -31,6 +29,8 @@ def stub_access_token_creation!
31
29
32
30
33
Pact.service_provider "Signon API" do
+ include ERB::Util
+
34
honours_pact_with "GDS API Adapters" do
35
if ENV["PACT_URI"]
36
pact_uri(ENV["PACT_URI"])
0 commit comments