Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added task for running features with Cucumber.

  • Loading branch information...
commit 953cad683fa3efac0aa13d701b028721725c59f2 1 parent 6c5fc32
@baldowl baldowl authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 Rakefile
View
7 Rakefile
@@ -1,7 +1,8 @@
require 'spec/rake/spectask'
require 'rake/classic_namespace'
+require 'cucumber/rake/task'
-task :default => [:spec]
+task :default => [:spec, :features]
desc "Run all specs"
Spec::Rake::SpecTask.new('spec') do |t|
@@ -9,6 +10,10 @@ Spec::Rake::SpecTask.new('spec') do |t|
t.spec_opts = ['--colour']
end
+Cucumber::Rake::Task.new do |c|
+ c.cucumber_opts = '--format progress'
+end
+
namespace :sinatra do
desc "Clone edge Sinatra"
task :clone do
Please sign in to comment.
Something went wrong with that request. Please try again.