Rakefile in minitest-chef-handler-0.3.0 vs Rakefile in minitest-chef-handler-0.4.0

- old
+ new

@@ -1,2 +1,17 @@ #!/usr/bin/env rake require "bundler/gem_tasks" +require "rake/testtask" + +desc 'Verify that nothing is broken against the simple solo example' +task :test do + Dir.chdir('./examples/simple-solo') do + sh 'ruby -I../../lib -S chef-solo -c solo.rb -j dna.json' + end +end + +Rake::TestTask.new do |t| + t.name = 'spec' + t.pattern = 'spec/**/*_spec.rb' +end + +task :default => [:spec, :test]