Skip to content

Commit

Permalink
fix: update call to Rack::Builder.parse_file for rack 3
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 22, 2023
1 parent 30a47dd commit 652047c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact/provider/configuration/service_provider_dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ServiceProviderDSL
unless File.exist? Pact.configuration.config_ru_path
raise "Could not find config.ru file at #{Pact.configuration.config_ru_path} Please configure the service provider app or create a config.ru file in the root directory of the project. See https://github.com/pact-foundation/pact-ruby/wiki/Verifying-pacts for more information."
end
Rack::Builder.parse_file(Pact.configuration.config_ru_path).first
Rack::Builder.parse_file(Pact.configuration.config_ru_path)
}

def initialize name
Expand Down

0 comments on commit 652047c

Please sign in to comment.