Rakefile in calatrava-0.0.1 vs Rakefile in calatrava-0.5.0
- old
+ new
@@ -7,10 +7,16 @@
RSpec::Core::RakeTask.new(:rspec) do |t|
t.rspec_opts = "--color"
end
Cucumber::Rake::Task.new(:features) do |t|
- t.cucumber_opts = "features --format pretty"
+ t.cucumber_opts = "features --format pretty --tags ~@wip"
+ end
+
+ namespace :features do
+ Cucumber::Rake::Task.new(:wip) do |t|
+ t.cucumber_opts = "features --format pretty --tags @wip --wip"
+ end
end
end
desc "Run all tests"
task :test => ['test:rspec', 'test:features']