Skip to content

Commit

Permalink
No need to sort tests
Browse files Browse the repository at this point in the history
Dir.glob result must be already sorted anyway
  • Loading branch information
amatsuda committed Aug 28, 2014
1 parent b7d649d commit bd2b3fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion actionview/Rakefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace :test do


Rake::TestTask.new(:template) do |t| Rake::TestTask.new(:template) do |t|
t.libs << 'test' 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.warning = true
t.verbose = true t.verbose = true
end end
Expand Down
2 changes: 1 addition & 1 deletion activemodel/Rakefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ task :default => :test


Rake::TestTask.new do |t| Rake::TestTask.new do |t|
t.libs << "test" 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.warning = true
t.verbose = true t.verbose = true
end end
Expand Down
2 changes: 1 addition & 1 deletion activerecord/Rakefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ end
t.libs << 'test' t.libs << 'test'
t.test_files = (Dir.glob( "test/cases/**/*_test.rb" ).reject { t.test_files = (Dir.glob( "test/cases/**/*_test.rb" ).reject {
|x| x =~ /\/adapters\// |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.warning = true
t.verbose = true t.verbose = true
Expand Down

0 comments on commit bd2b3fb

Please sign in to comment.