Skip to content

Commit

Permalink
For now, we will keep sorting the tests.
Browse files Browse the repository at this point in the history
This reverts commits e969c92 and
bd2b3fb.
  • Loading branch information
matthewd committed Sep 5, 2014
1 parent 4c440a5 commit 7025d77
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion actionpack/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ task :default => :test
# Run the unit tests
Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = test_files

# make sure we include the tests in alphabetical order as on some systems
# this will not happen automatically and the tests (as a whole) will error
t.test_files = test_files.sort

t.warning = true
t.verbose = true
Expand Down
2 changes: 1 addition & 1 deletion actionview/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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')
t.test_files = Dir.glob('test/template/**/*_test.rb').sort
t.warning = true
t.verbose = true
end
Expand Down
2 changes: 1 addition & 1 deletion activemodel/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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")
t.test_files = Dir.glob("#{dir}/test/cases/**/*_test.rb").sort
t.warning = true
t.verbose = true
end
Expand Down
2 changes: 1 addition & 1 deletion activerecord/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
} + Dir.glob("test/cases/adapters/#{adapter_short}/**/*_test.rb")).sort

t.warning = true
t.verbose = true
Expand Down

0 comments on commit 7025d77

Please sign in to comment.