diff --git a/lib/pact/provider/configuration/service_provider_dsl.rb b/lib/pact/provider/configuration/service_provider_dsl.rb index 3933eab9..dd5f9839 100644 --- a/lib/pact/provider/configuration/service_provider_dsl.rb +++ b/lib/pact/provider/configuration/service_provider_dsl.rb @@ -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