spec/spec_helper.rb in berkshelf-3.1.5 vs spec/spec_helper.rb in berkshelf-3.2.0
- old
+ new
@@ -4,10 +4,11 @@
!!(RUBY_PLATFORM =~ /mswin|mingw|windows/)
end
Spork.prefork do
require 'rspec'
+ require 'cleanroom/rspec'
require 'webmock/rspec'
require 'berkshelf/api/rspec' unless windows?
Dir['spec/support/**/*.rb'].each { |f| require File.expand_path(f) }
@@ -22,10 +23,9 @@
config.expect_with :rspec do |c|
c.syntax = :expect
end
config.mock_with :rspec
- config.treat_symbols_as_metadata_keys_with_true_values = true
config.filter_run focus: true
config.filter_run_excluding not_supported_on_windows: windows?
config.run_all_when_everything_filtered = true
config.before(:each) do