Permalink
Browse files

No need to sort tests

Dir.glob result must be already sorted anyway
  • Loading branch information...
1 parent b7d649d commit bd2b3fbe54e750ba97469a7896e8d143d6dfd465 @amatsuda amatsuda committed Aug 26, 2014
Showing with 3 additions and 3 deletions.
  1. +1 −1 actionview/Rakefile
  2. +1 −1 activemodel/Rakefile
  3. +1 −1 activerecord/Rakefile
View
@@ -18,7 +18,7 @@ namespace :test do
Rake::TestTask.new(:template) do |t|
t.libs << 'test'
- t.test_files = Dir.glob('test/template/**/*_test.rb').sort
+ t.test_files = Dir.glob('test/template/**/*_test.rb')
t.warning = true
t.verbose = true
end
View
@@ -6,7 +6,7 @@ task :default => :test
Rake::TestTask.new do |t|
t.libs << "test"
- t.test_files = Dir.glob("#{dir}/test/cases/**/*_test.rb").sort
+ t.test_files = Dir.glob("#{dir}/test/cases/**/*_test.rb")
t.warning = true
t.verbose = true
end
View
@@ -51,7 +51,7 @@ end
t.libs << 'test'
t.test_files = (Dir.glob( "test/cases/**/*_test.rb" ).reject {
|x| x =~ /\/adapters\//
- } + Dir.glob("test/cases/adapters/#{adapter_short}/**/*_test.rb")).sort
+ } + Dir.glob("test/cases/adapters/#{adapter_short}/**/*_test.rb"))
t.warning = true
t.verbose = true

0 comments on commit bd2b3fb

Please sign in to comment.