Rakefile in infrataster-0.1.4 vs Rakefile in infrataster-0.1.5

- old
+ new

@@ -6,10 +6,14 @@ "\e[33m#{str}\e[m" end ENV['VAGRANT_CWD'] = File.expand_path('spec/integration/vm') + +desc 'Run unit and integration tests' +task :spec => ['spec:unit', 'spec:integration'] + namespace :spec do RSpec::Core::RakeTask.new("unit") do |task| task.pattern = "./spec/unit{,/*/**}/*_spec.rb" end @@ -18,12 +22,14 @@ end namespace :integration do integration_dir = 'spec/integration' + desc 'Clean' task :clean => ['destroy_vm', 'remove_berks'] do end + desc 'Prepare' task :prepare => ['download_browsermob', 'start_vm'] do end task :download_browsermob do dir = File.join(integration_dir, 'vm/vendor/browsermob')