bin/cc-knife in cucumber-chef-2.0.1.pre vs bin/cc-knife in cucumber-chef-2.0.2.pre

- old
+ new

@@ -15,10 +15,10 @@ Cucumber::Chef::Config.load if (test_lab = Cucumber::Chef::TestLab.new) && (test_lab.labs_running.count > 0) knife_rb = Cucumber::Chef.locate(:file, ".cucumber-chef", "knife.rb") if File.exists?(knife_rb) - command = [knife, ARGV, "-s http://#{test_lab.labs_running.first.public_ip_address}:4000", "-c #{knife_rb}", "2>&1"].flatten.compact.join(" ") + command = [knife, ARGV, "--server-url http://#{test_lab.labs_running.first.public_ip_address}:4000", "--config #{knife_rb}", "2>&1"].flatten.compact.join(" ") puts(command) puts(%x(#{command})) exit($?.to_i) else puts("Could not find your Cucumber-Chef 'knife.rb'. Did you setup your test lab?")