spec/spec_helper.rb in knife-windows-1.0.0.rc.2 vs spec/spec_helper.rb in knife-windows-1.0.0
- old
+ new
@@ -78,10 +78,11 @@
RSpec.configure do |config|
config.filter_run_excluding :windows_only => true unless windows?
config.filter_run_excluding :windows_2012_only => true unless windows2012?
config.filter_run_excluding :chef_gte_12_only => true unless chef_gte_12?
- config.filter_run_excluding :chef_gte_12_5_only => true unless chef_gte_12_5?
+ config.filter_run_excluding :chef_gte_12_5_only => true unless chef_gte_12_5?
+ config.filter_run_excluding :chef_lt_12_5_only => true if chef_gte_12_5?
config.filter_run_excluding :chef_lt_12_only => true unless chef_lt_12?
config.filter_run_excluding :if_chef_11 => true if chef_eq_11?
end