Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add more testing rake tasks

Add convenience tasks to run tests across the gemfiles for rails 3.0, 3.1, and 3.2.
  • Loading branch information...
commit f09306dd73d60b4e21f4d2c75fb8773937ed2431 1 parent 45b69dc
@blowmage authored
Showing with 20 additions and 0 deletions.
  1. +20 −0 tasks/test.rake
View
20 tasks/test.rake
@@ -0,0 +1,20 @@
+namespace :test do
+ desc "Run tests against the 3.0 gemfile"
+ task "3.0" do
+ ENV["BUNDLE_GEMFILE"] = "gemfiles/3.0.gemfile"
+ sh "bundle exec rake test"
+ end
+
+ desc "Run tests against the 3.1 gemfile"
+ task "3.1" do
+ ENV["BUNDLE_GEMFILE"] = "gemfiles/3.1.gemfile"
+ sh "bundle exec rake test"
+ end
+
+ desc "Run tests against the 3.2 gemfile"
+ task "3.2" do
+ ENV["BUNDLE_GEMFILE"] = "gemfiles/3.2.gemfile"
+ sh "bundle exec rake test"
+ end
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.