Upgrade to Rails 2.0.2
Upgraded to Rails 2.0.2, except that we maintain vendor/rails/actionpack/lib/action_controller/routing.rb from Rail 1.2.6 (at least for now), so that Routes don't change. We still get to enjoy Rails's many new features. Also fixed a bug in Chunk-handling: disable WikiWord processing in tags (for real this time).
This commit is contained in:
parent
0f6889e09f
commit
6873fc8026
1083 changed files with 52810 additions and 41058 deletions
12
vendor/rails/railties/lib/tasks/testing.rake
vendored
12
vendor/rails/railties/lib/tasks/testing.rake
vendored
|
@ -40,17 +40,15 @@ end
|
|||
|
||||
desc 'Test all units and functionals'
|
||||
task :test do
|
||||
exceptions = ["test:units", "test:functionals", "test:integration"].collect do |task|
|
||||
errors = %w(test:units test:functionals test:integration).collect do |task|
|
||||
begin
|
||||
Rake::Task[task].invoke
|
||||
nil
|
||||
rescue => e
|
||||
e
|
||||
task
|
||||
end
|
||||
end.compact
|
||||
|
||||
exceptions.each {|e| puts e;puts e.backtrace }
|
||||
raise "Test failures" unless exceptions.empty?
|
||||
abort "Errors running #{errors.to_sentence}!" if errors.any?
|
||||
end
|
||||
|
||||
namespace :test do
|
||||
|
@ -111,10 +109,10 @@ namespace :test do
|
|||
if ENV['PLUGIN']
|
||||
t.pattern = "vendor/plugins/#{ENV['PLUGIN']}/test/**/*_test.rb"
|
||||
else
|
||||
t.pattern = 'vendor/plugins/**/test/**/*_test.rb'
|
||||
t.pattern = 'vendor/plugins/*/**/test/**/*_test.rb'
|
||||
end
|
||||
|
||||
t.verbose = true
|
||||
end
|
||||
Rake::Task['test:plugins'].comment = "Run the plugin tests in vendor/plugins/**/test (or specify with PLUGIN=name)"
|
||||
Rake::Task['test:plugins'].comment = "Run the plugin tests in vendor/plugins/*/**/test (or specify with PLUGIN=name)"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue