spec/integration/spec_helper.rb in infrataster-0.2.6 vs spec/integration/spec_helper.rb in infrataster-0.3.0
- old
+ new
@@ -12,12 +12,13 @@
from: :proxy,
http: {host: 'example.com'},
)
RSpec.configure do |config|
- config.treat_symbols_as_metadata_keys_with_true_values = true
+ if RSpec::Core::Version::STRING.start_with?('2')
+ config.treat_symbols_as_metadata_keys_with_true_values = true
+ end
config.run_all_when_everything_filtered = true
config.filter_run :focus
config.order = 'random'
end
-