Rakefile in stove-2.0.0 vs Rakefile in stove-3.0.0
- old
+ new
@@ -1,7 +1,15 @@
require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:unit) do |t|
+ t.rspec_opts = [].tap do |a|
+ a.push('--color')
+ a.push('--format progress')
+ end.join(' ')
+end
+
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:acceptance) do |t|
t.cucumber_opts = [].tap do |a|
a.push('--color')
a.push('--format progress')
@@ -9,8 +17,8 @@
a.push('--tags ~@wip')
end.join(' ')
end
desc 'Run all tests'
-task :test => [:acceptance]
+task :test => [:unit, :acceptance]
task :default => [:test]