require 'bundler/gem_tasks' require 'cucumber/rake/task' require 'rspec/core/rake_task' require 'coveralls/rake/task' Coveralls::RakeTask.new namespace :cuke do Cucumber::Rake::Task.new(:all) do |t| t.cucumber_opts = "--format pretty" end Cucumber::Rake::Task.new(:wip) do |t| t.cucumber_opts = "--format pretty -t @wip" end end namespace :spec do RSpec::Core::RakeTask.new(:all) do |t| t.pattern = "spec/**/*_spec.rb" t.ruby_opts = "-I lib" end end task :default => ['spec:all', 'cuke:all', 'coveralls:push']