Sha256: 7dd30180931f76534349f7686d74a475af9a9efec18e9c78e9b57f7e3fda0a73

Contents?: true

Size: 312 Bytes

Versions: 8

Compression:

Stored size: 312 Bytes

Contents

require 'db'
require 'tasks/database'
require 'pact_broker/db'
raise "Wrong environment!!! Don't run this script!! ENV['RACK_ENV'] is #{ENV['RACK_ENV']} and RACK_ENV is #{RACK_ENV}" if ENV['RACK_ENV'] != 'test' || RACK_ENV != 'test'
PactBroker::DB.connection = PactBroker::Database.database = DB::PACT_BROKER_DB

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pact_broker-2.32.0 spec/support/database.rb
pact_broker-2.31.0 spec/support/database.rb
pact_broker-2.30.0 spec/support/database.rb
pact_broker-2.29.0 spec/support/database.rb
pact_broker-2.27.6 spec/support/database.rb
pact_broker-2.27.5 spec/support/database.rb
pact_broker-2.27.4 spec/support/database.rb
pact_broker-2.27.3 spec/support/database.rb