Skip to content

Instantly share code, notes, and snippets.

@azusa
Created February 26, 2017 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azusa/5f54d64141a3130db4806334153eb522 to your computer and use it in GitHub Desktop.
Save azusa/5f54d64141a3130db4806334153eb522 to your computer and use it in GitHub Desktop.
[git][* master]:$ bundle exec rake [~/pact-example/animal-service]
SPEC_OPTS='' /home/vagrant/.rbenv/versions/2.3.3/bin/ruby -S pact verify --pact-helper /home/vagrant/pact-example/animal-service/spec/service_consumers/pact_helper.rb
Reading pact at /home/vagrant/pact-example/animal-service/spec/service_consumers/pacts/zoo_app-animal_service.json
An error occurred in a `before(:suite)` hook.
Failure/Error: 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/realestate-com-au/pact/blob/master/documentation/verifying-pacts.md for more information."
RuntimeError:
Could not find config.ru file at ./config.ru Please configure the service provider app or create a config.ru file in the root directory of the project. See https://github.com/realestate-com-au/pact/blob/master/documentation/verifying-pacts.md for more information.
# ./vendor/bundle/ruby/2.3.0/gems/pact-1.10.0/bin/pact:4:in `<top (required)>'
# ./vendor/bundle/ruby/2.3.0/bin/pact:22:in `load'
# ./vendor/bundle/ruby/2.3.0/bin/pact:22:in `<main>'
0 interactions, 0 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment