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

- old
+ new

@@ -1,7 +1,8 @@ require 'logical-construct/target/platforms' require 'mattock/testing/rake-example-group' +require 'mattock/testing/mock-command-line' describe LogicalConstruct::VirtualBox::ChefConfig do include Mattock::RakeExampleGroup include Mattock::CommandLineExampleGroup include FileSandbox @@ -39,9 +40,11 @@ chef_config.solo_rb.should =~ /\A\// end describe "invoked" do before :each do + expect_command /tar/, 0 + expect_command /tar/, 0 expect_command /tar/, 0 rake[File::join(sandbox["chef-dir"].path, "chef-solo.rb")].invoke end it "should generate the chef-solo.rb file" do