Skip to content
Newer
Older
100644 28 lines (21 sloc) 638 Bytes
2af75fb @jasonm Making sure Clearance is happy with 1.9
jasonm authored Jun 16, 2009
1 # encoding: utf-8
2
cbfc249 @jferris Passing features and tests on diesel
jferris authored Jan 14, 2011
3 require 'rubygems'
4 require 'bundler/setup'
1c6eee9 @technicalpickles Added Rakefile.
technicalpickles authored Sep 6, 2008
5 require 'rake'
6759d6d @croaky rake/gempackagetask is deprecated. Use rubygems/package_task instead
croaky authored Oct 9, 2011
6 require 'rubygems/package_task'
c5d14a6 @eugenebolshakov Adedd rake task to run cucumber stories
eugenebolshakov authored Jan 28, 2009
7 require 'cucumber/rake/task'
cbfc249 @jferris Passing features and tests on diesel
jferris authored Jan 14, 2011
8 require 'diesel/tasks'
e13e7e4 @jferris Convert from Test::Unit to RSpec
jferris authored Apr 13, 2011
9 require 'rspec/core/rake_task'
08e24fc @sikachu Add Appraisal configuration file
sikachu authored Jun 10, 2011
10 require 'appraisal'
11
3430e88 @croaky [#180] Specify all rake commands for Travis
croaky authored Feb 17, 2012
12 desc 'Default: run the specs and cucumber features'
08e24fc @sikachu Add Appraisal configuration file
sikachu authored Jun 10, 2011
13 task :default => [:all]
14
15 desc 'Test the plugin under all supported Rails versions.'
3430e88 @croaky [#180] Specify all rake commands for Travis
croaky authored Feb 17, 2012
16 task :all => ['appraisal:install'] do |t|
17 exec 'rake appraisal spec cucumber'
08e24fc @sikachu Add Appraisal configuration file
sikachu authored Jun 10, 2011
18 end
cd85f72 @croaky added clearance_views generator. by default, creates formtastic views…
croaky authored Aug 4, 2009
19
fc6af70 @danhodge Optional config param 'user_model_name' added
danhodge authored Dec 1, 2011
20 RSpec::Core::RakeTask.new(:spec)
7f1e7f5 @mike-burns reduce dependencies
mike-burns authored Oct 20, 2008
21
cbfc249 @jferris Passing features and tests on diesel
jferris authored Jan 14, 2011
22 Cucumber::Rake::Task.new(:cucumber) do |t|
23 t.fork = true
24 t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
7bf1245 @mike-burns Use the spec/factories dir if the spec/ dir exists
mike-burns authored Jun 29, 2010
25 end
4b4c251 @croaky adding rake build/install/release tasks via Bundler so I won't keep f…
croaky authored Oct 16, 2011
26
27 Bundler::GemHelper.install_tasks
Something went wrong with that request. Please try again.