tasks/test.rake in vagrantup-0.8.10 vs tasks/test.rake in vagrantup-0.9.0
- old
+ new
@@ -1,12 +1,17 @@
require 'rake/testtask'
require 'rspec/core/rake_task'
namespace :test do
- Rake::TestTask.new do |t|
+ RSpec::Core::RakeTask.new do |t|
t.name = "unit"
- t.libs << "test/unit"
t.pattern = "test/unit/**/*_test.rb"
+ end
+
+ Rake::TestTask.new do |t|
+ t.name = "unit_old"
+ t.libs << "test/unit_legacy"
+ t.pattern = "test/unit_legacy/**/*_test.rb"
end
RSpec::Core::RakeTask.new do |t|
t.name = "acceptance"
t.pattern = "test/acceptance/**/*_test.rb"