Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 373

Show
Ignore:
Timestamp:
01/10/05 22:58:06 (4 years ago)
Author:
david
Message:

Fixed random ordering of test cases that would cause errors on some systems #446 [Josh]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/Rakefile

    r361 r373  
    2121Rake::TestTask.new { |t| 
    2222  t.libs << "test" 
    23   t.pattern = 'test/*/*_test.rb' 
     23# make sure we include the controller tests (c*) first as on some systems 
     24# this will not happen automatically and the tests (as a whole) will error 
     25  t.test_files=Dir.glob( "test/c*/*_test.rb" ) + Dir.glob( "test/[ft]*/*_test.rb" ) 
     26#  t.pattern = 'test/*/*_test.rb' 
    2427  t.verbose = true 
    2528}