Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f30e73c4ff
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (19 sloc) 0.796 kb
require 'rubygems'
require 'rake'
require 'spec/rake/spectask'
require 'spec'
require 'cucumber'
require 'cucumber/rake/task'
Spec::Rake::SpecTask.new('spec') do |t|
t.spec_files = FileList['spec/**/*.rb']
end
task :features do
sh %{ cucumber features/ }
end
# cuke + bundler + capybara + envjs does not load envjs ???
#bundle exec /Users/jeanmichel/.rvm/rubies/ruby-1.8.7-p302/bin/ruby -I "/Users/jeanmichel/.rvm/gems/ruby-1.8.7-p302@courgette/gems/cucumber-0.9.0/lib:lib" "/Users/jeanmichel/.rvm/gems/ruby-1.8.7-p302@courgette/gems/cucumber-0.9.0/bin/cucumber" features --format progress
#no such file to load -- capybara/envjs (MissingSourceFile)
#Cucumber::Rake::Task.new(:features) do |t|
# t.cucumber_opts = "features --format progress"
#end
task :default => [:spec, :features]
Jump to Line
Something went wrong with that request. Please try again.