Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 15 lines (11 sloc) 0.334 kB
ec656e1 @gabebw bundler/setup is important.
gabebw authored
1 require 'bundler/setup'
35cfdde @gabebw bundler/gem_tasks is easier.
gabebw authored
2 require 'bundler/gem_tasks'
4dd575d @mjankowski use appraisal to test against both rails 3.1.0 and 3.0.10
mjankowski authored
3 require 'appraisal'
4925fd5 @mjankowski switch to use rspec for tests
mjankowski authored
4 require 'rspec/core/rake_task'
63187dd @gabebw Use Bundler gem conventions.
gabebw authored
5
4925fd5 @mjankowski switch to use rspec for tests
mjankowski authored
6 RSpec::Core::RakeTask.new(:spec)
1650fc5 first commit
Tammer Saleh authored
7
4dd575d @mjankowski use appraisal to test against both rails 3.1.0 and 3.0.10
mjankowski authored
8 desc "Default: run the unit tests."
9 task :default => [:all]
10
11 desc 'Test the plugin under all supported Rails versions.'
12 task :all => ["appraisal:install"] do |t|
13 exec('rake appraisal spec')
14 end
Something went wrong with that request. Please try again.