Sha256: 4e2fb92bcb171c7957fca9746873d8bef4eb7f4092eb55409cf055f78b34ddb2
Contents?: true
Size: 530 Bytes
Versions: 15
Compression:
Stored size: 530 Bytes
Contents
#!/usr/bin/env ruby require 'cucumber-chef' # if we have bundler binstubs use that; otherwise attempt to detect knife = (Cucumber::Chef.locate(:file, "bin", "knife") rescue "/usr/bin/env knife") tag = Cucumber::Chef.tag("cc-knife") puts(tag) Cucumber::Chef.boot(tag) ui = ZTK::UI.new(:logger => Cucumber::Chef.logger) if (test_lab = Cucumber::Chef::TestLab.new(ui)) && test_lab.alive? test_lab.knife_cli([ARGV], :replace_current_process => true) else puts("No running cucumber-chef test labs to connect to!") exit(1) end
Version data entries
15 entries across 15 versions & 1 rubygems