Sha256: 810bb74e3e678b4343dce7fec7554791bcb45e75a6ac8180d02630b4c8b59334
Contents?: true
Size: 562 Bytes
Versions: 21
Compression:
Stored size: 562 Bytes
Contents
require 'spec_helper' describe "ey recipes upload" do given "integration" define_git_repo('+cookbooks') do |git_dir| git_dir.join("cookbooks").mkdir File.open(git_dir.join("cookbooks/file"), "w"){|f| f << "boo" } end use_git_repo('+cookbooks') def command_to_run(opts) cmd = "recipes upload" cmd << " --environment #{opts[:env]}" if opts[:env] cmd end def verify_ran(scenario) @out.should =~ /Recipes uploaded successfully for #{scenario[:environment]}/ end it_should_behave_like "it takes an environment name" end
Version data entries
21 entries across 21 versions & 1 rubygems