spec/target/chef-solo.rb in logical-construct-0.0.1.localtesting vs spec/target/chef-solo.rb in logical-construct-0.0.1

- old
+ new

@@ -34,11 +34,19 @@ end describe "invoked" do include Mattock::CommandLineExampleGroup + it "should have the bundle path in the PATH" do + expect_some_commands + rake["chef_solo:run"].invoke + ENV['PATH'].should =~ %r{/var/logical-construct/bin} + end + it "should run chef-solo" do Rake.verbose(true) + expect_command /tar/, 0 + expect_command /tar/, 0 expect_command /tar/, 0 expect_command /chef-solo/, 0 rake["chef_solo:run"].invoke end