Skip to content
This repository
Browse code

Rake recent should clone db structure like test_units/functional

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit e712f63872b57e6027601a519080d56b0bb75f3d 1 parent df7f345
David Heinemeier Hansson dhh authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  railties/fresh_rakefile
2  railties/fresh_rakefile
@@ -31,7 +31,7 @@ def recent_tests(source_pattern, test_path, touched_since = 10.minutes.ago)
31 31 end
32 32
33 33 desc 'Test recent changes.'
34   -Rake::TestTask.new('recent') do |t|
  34 +Rake::TestTask.new(:recent => [ :clone_structure_to_test ]) do |t|
35 35 since = TEST_CHANGES_SINCE
36 36 touched = FileList['test/**/*_test.rb'].select { |path| File.mtime(path) > since } +
37 37 recent_tests('app/models/*.rb', 'test/unit', since) +

0 comments on commit e712f63

Please sign in to comment.
Something went wrong with that request. Please try again.