Skip to content
This repository
Newer
Older
100644 30 lines (25 sloc) 0.638 kb
9d79124f »
2011-11-18 bundler/setup is important.
1 require 'bundler/setup'
ad570cc0 »
2011-11-12 bundler/gem_tasks is easier.
2 require 'bundler/gem_tasks'
6aca7176 »
2010-12-13 Extracted the context framework, switched to rspec
3 require 'rspec/core/rake_task'
4 require 'cucumber/rake/task'
44847c6a »
2011-05-25 Add Appraisals to the project to handle testing against multiple Rail…
5 require 'appraisal'
18229ed7 »
2009-01-09 Moved VERSION constant into a more discoverable file
6
6aca7176 »
2010-12-13 Extracted the context framework, switched to rspec
7 RSpec::Core::RakeTask.new do |t|
8 t.pattern = "spec/**/*_spec.rb"
4ee78bfe »
2010-12-14 Fixes for Rails 3.0.3 and RSpec 2.3
9 t.rspec_opts = '--color --format progress'
10 t.verbose = false
6aca7176 »
2010-12-13 Extracted the context framework, switched to rspec
11 end
12
2320a8c5 »
2010-12-13 Don't test Rails 2
13 Cucumber::Rake::Task.new do |t|
44847c6a »
2011-05-25 Add Appraisals to the project to handle testing against multiple Rail…
14 t.fork = false
2320a8c5 »
2010-12-13 Don't test Rails 2
15 t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
cb7eae11 »
2010-06-23 Fixed rspec2/rails3 integration; added integration tests for macros/m…
16 end
17
5c3fb37a »
2014-01-20 Install appraisals before running the test suite
18 task :default do
3d33dfcb »
2013-03-04 Allow the suite to run sequentially via Appraisal, or one at a time w…
19 if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
5c3fb37a »
2014-01-20 Install appraisals before running the test suite
20 Rake::Task['spec'].invoke
21 Rake::Task['cucumber'].invoke
3d33dfcb »
2013-03-04 Allow the suite to run sequentially via Appraisal, or one at a time w…
22 else
5c3fb37a »
2014-01-20 Install appraisals before running the test suite
23 Rake::Task['appraise'].invoke
3d33dfcb »
2013-03-04 Allow the suite to run sequentially via Appraisal, or one at a time w…
24 end
44847c6a »
2011-05-25 Add Appraisals to the project to handle testing against multiple Rail…
25 end
41088bc0 »
2012-04-10 Clean up Rakefile.
26
602be16e »
2014-01-20 Use the new appraisal executable in 1.0.0.beta1
27 task :appraise do
28 exec 'appraisal install && appraisal rake'
3d33dfcb »
2013-03-04 Allow the suite to run sequentially via Appraisal, or one at a time w…
29 end
Something went wrong with that request. Please try again.