Rakefile in vagrant-windows-1.0.3 vs Rakefile in vagrant-windows-1.2.0

- old
+ new

@@ -6,10 +6,20 @@ Dir.chdir(File.expand_path("../", __FILE__)) # For gem creation and bundling require "bundler/gem_tasks" -# Install the `spec` task so that we can run tests. -RSpec::Core::RakeTask.new +# Run the unit test suite +RSpec::Core::RakeTask.new do |task| + task.pattern = "spec/**/*_spec.rb" + task.rspec_opts = [ '--color', '-f documentation' ] + task.rspec_opts << '-tunit' +end -# Default task is to run the unit tests -task :default => "build" +# Run the integration test suite +RSpec::Core::RakeTask.new(:integration) do |task| + task.pattern = "spec/**/*_spec.rb" + task.rspec_opts = [ '--color', '-f documentation' ] +end + +# Default task is to run tests +task :default => "spec"