Skip to content

Instantly share code, notes, and snippets.

@gotwalt
Created July 15, 2011 16:56
Show Gist options
  • Save gotwalt/1085069 to your computer and use it in GitHub Desktop.
Save gotwalt/1085069 to your computer and use it in GitHub Desktop.
require 'rake/testtask'
require 'cucumber/rake/task'
Rake::TestTask.new(:test) do |t|
t.libs << 'spec'
t.pattern = 'spec/**/*_spec.rb'
t.verbose = true
end
Cucumber::Rake::Task.new do |t|
t.cucumber_opts = %w{--format pretty}
end
task :default => :test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment