aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/CHANGELOG2
-rwxr-xr-xrailties/fresh_rakefile4
2 files changed, 5 insertions, 1 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 5e4eea09ce..7de2f06c88 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik]
+
* Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat]
diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile
index f14fe5f9fc..00086edb0f 100755
--- a/railties/fresh_rakefile
+++ b/railties/fresh_rakefile
@@ -8,7 +8,7 @@ require File.dirname(__FILE__) + '/config/environment'
require 'code_statistics'
desc "Run all the tests on a fresh test database"
-task :default => [ :clone_structure_to_test, :test_units, :test_functional ]
+task :default => [ :test_units, :test_functional ]
desc "Generate API documentatio, show coding stats"
task :doc => [ :appdoc, :stats ]
@@ -20,6 +20,7 @@ Rake::TestTask.new("test_units") { |t|
t.pattern = 'test/unit/**/*_test.rb'
t.verbose = true
}
+task :test_units => [ :clone_structure_to_test ]
desc "Run the functional tests in test/functional"
Rake::TestTask.new("test_functional") { |t|
@@ -27,6 +28,7 @@ Rake::TestTask.new("test_functional") { |t|
t.pattern = 'test/functional/**/*_test.rb'
t.verbose = true
}
+task :test_functional => [ :clone_structure_to_test ]
desc "Generate documentation for the application"
Rake::RDocTask.new("appdoc") { |rdoc|