Sha256: 5785529fc0b1f6b8dce05cccd9f2dee8e74395aa96e00206a9179562ef39fb84
Contents?: true
Size: 611 Bytes
Versions: 2
Compression:
Stored size: 611 Bytes
Contents
require_relative '../../spec/coveralls_helper' require 'rake' require 'webmock' require 'aruba' require 'aruba/cucumber' require 'aruba/jruby' if RUBY_PLATFORM == 'java' require_relative '../../spec/pacto/server' Before do # Given I successfully run `bundle install` can take a while. @aruba_timeout_seconds = RUBY_PLATFORM == 'java' ? 60 : 10 end # Was only going to use for @needs_server, but its easier to leave it running @server = Pacto::Server::Dummy.new 8000, '/hello', '{"message": "Hello World!"}' @server.start Around do | scenario, block | Bundler.with_clean_env do block.call end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pacto-0.3.1 | features/support/env.rb |
pacto-0.3.0 | features/support/env.rb |