spec/spec_helper.rb in pact_broker-1.9.1 vs spec/spec_helper.rb in pact_broker-1.9.2
- old
+ new
@@ -7,10 +7,9 @@
require 'pact_broker/api'
require 'rspec/its'
Dir.glob("./spec/support/**/*.rb") { |file| require file }
-YAML::ENGINE.yamler = 'psych'
I18n.config.enforce_available_locales = false
RSpec.configure do | config |
config.before :suite do
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'