Permalink
Browse files

cleanup Rakefile

  • Loading branch information...
1 parent bf63f85 commit 8ede1097f17750a91443ecde887d19c5bc701d33 @dejan committed May 5, 2012
Showing with 1 addition and 16 deletions.
  1. +1 −16 Rakefile
View
@@ -8,24 +8,9 @@ Rake::TestTask.new(:test) do |t|
t.pattern = 'test/**/*_test.rb'
end
-desc 'Test with recent versions of Rails'
-task :test_wit_all_rails_versions do
- versions = ['2.1.2',
- '2.2.3',
-# '2.3.14',
- '3.0.11',
- '3.1.3',
- '3.2.1']
- versions.each do |v|
- puts "\n###### TESTING WITH RAILS #{v}"
- ENV['RAILS_VERSION'] = v
- Rake::Task['test'].execute
- end
-end
-
desc 'Test with versions of Rails available on the system'
task :test_with_installed do
- versions = `gem list rails | grep rails`.gsub("rails (", "").chop.split(', ')
+ versions = `gem list rails | grep rails`.gsub("rails (", "").chop.chop.split(', ')
exclude = []
(versions-exclude).each do |v|
puts "\n###### TESTING WITH RAILS #{v}"

0 comments on commit 8ede109

Please sign in to comment.