Rakefile in berkshelf-7.1.0 vs Rakefile in berkshelf-7.2.0
- old
+ new
@@ -12,11 +12,11 @@
begin
require "cucumber"
require "cucumber/rake/task"
Cucumber::Rake::Task.new(:features) do |t|
- if RUBY_PLATFORM =~ WINDOWS_PLATFORM
- t.cucumber_opts = "--tags ~@not-windows"
+ if RUBY_PLATFORM =~ WINDOWS_PLATFORM || RUBY_PLATFORM =~ /darwin/
+ t.cucumber_opts = "--tags 'not @not-windows'"
end
end
rescue LoadError
task :features
end