Sha256: 80aabc0f9f93a260ca3ee71917ce8b94ef9430c72982f45ea173f597b4c266c3

Contents?: true

Size: 588 Bytes

Versions: 22

Compression:

Stored size: 588 Bytes

Contents

World(Berkshelf::RSpec::ChefAPI)

Given /^the Chef server does not have the cookbooks:$/ do |cookbooks|
  cookbooks.raw.each do |name, version|
    purge_cookbook(name, version)
  end
end

Given /^the Chef server has cookbooks:$/ do |cookbooks|
  cookbooks.raw.each do |name, version|
    purge_cookbook(name, version)
    cb_path = generate_cookbook(tmp_path, name, version)
    upload_cookbook(cb_path)
  end
end

Then /^the Chef server should have the cookbooks:$/ do |cookbooks|
  cookbooks.raw.each do |name, version|
    server_has_cookbook?(name, version).should be_true
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
berkshelf-1.0.4 features/step_definitions/chef_server_steps.rb
berkshelf-1.0.3 features/step_definitions/chef_server_steps.rb
berkshelf-1.0.2 features/step_definitions/chef_server_steps.rb
berkshelf-1.0.0 features/step_definitions/chef_server_steps.rb
berkshelf-1.0.0.rc3 features/step_definitions/chef_server_steps.rb
berkshelf-1.0.0.rc2 features/step_definitions/chef_server_steps.rb
berkshelf-1.0.0.rc1 features/step_definitions/chef_server_steps.rb
berkshelf-0.6.0.beta4 features/step_definitions/chef_server_steps.rb
berkshelf-0.6.0.beta3 features/step_definitions/chef_server_steps.rb
berkshelf-0.6.0.beta2 features/step_definitions/chef_server_steps.rb
berkshelf-0.5.1 features/step_definitions/chef_server_steps.rb
berkshelf-0.6.0.beta1 features/step_definitions/chef_server_steps.rb
berkshelf-0.5.0 features/step_definitions/chef_server_steps.rb
berkshelf-0.5.0.rc4 features/step_definitions/chef_server_steps.rb
berkshelf-0.5.0.rc3 features/step_definitions/chef_server_steps.rb
berkshelf-0.5.0.rc2 features/step_definitions/chef_server_steps.rb
berkshelf-0.5.0.rc1 features/step_definitions/chef_server_steps.rb
berkshelf-0.4.0 features/step_definitions/chef_server_steps.rb
berkshelf-0.4.0.rc4 features/step_definitions/chef_server_steps.rb
berkshelf-0.4.0.rc3 features/step_definitions/chef_server_steps.rb