aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-02-23 02:17:12 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-02-23 02:17:12 +0000
commite712f63872b57e6027601a519080d56b0bb75f3d (patch)
tree58cf7ffe4922755aa3efc1c46e9315626c38beb0
parentdf7f3455a1f850649ad7d4c0c37ccab178717956 (diff)
downloadrails-e712f63872b57e6027601a519080d56b0bb75f3d.tar.gz
rails-e712f63872b57e6027601a519080d56b0bb75f3d.tar.bz2
rails-e712f63872b57e6027601a519080d56b0bb75f3d.zip
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
-rwxr-xr-xrailties/fresh_rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile
index c412d99c12..9dd1181bed 100755
--- a/railties/fresh_rakefile
+++ b/railties/fresh_rakefile
@@ -31,7 +31,7 @@ def recent_tests(source_pattern, test_path, touched_since = 10.minutes.ago)
end
desc 'Test recent changes.'
-Rake::TestTask.new('recent') do |t|
+Rake::TestTask.new(:recent => [ :clone_structure_to_test ]) do |t|
since = TEST_CHANGES_SINCE
touched = FileList['test/**/*_test.rb'].select { |path| File.mtime(path) > since } +
recent_tests('app/models/*.rb', 'test/unit', since) +