lib/serverspec/setup.rb in serverspec-0.15.3 vs lib/serverspec/setup.rb in serverspec-0.15.4
- old
+ new
@@ -159,10 +159,12 @@
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/*/*_spec.rb'
end
-EOF
+
+task :default => :spec
+ EOF
if File.exists? 'Rakefile'
old_content = File.read('Rakefile')
if old_content != content
$stderr.puts "!! Rakefile already exists and differs from template"
end