Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 631 Bytes
require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'cucumber/rake/task'
require 'appraisal' do |t|
t.pattern = "spec/**/*_spec.rb"
t.rspec_opts = '--color --format progress'
t.verbose = false
end do |t|
t.fork = false
t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
desc 'Test the plugin under all supported Rails versions.'
task :all => ["appraisal:cleanup", "appraisal:install"] do
exec('rake appraisal spec cucumber')
desc 'Default: run specs and cucumber features'
task :default => [:all]
Something went wrong with that request. Please try again.