Sha256: bb1fd6003082c2b054ac08710f58da3ee595c3989d9031f1c98c5b302c1b6e86
Contents?: true
Size: 886 Bytes
Versions: 1
Compression:
Stored size: 886 Bytes
Contents
require 'chefspec' require_relative '../spec_helper' describe 'spec::package' do let(:chef_run) { ChefSpec::Runner.new.converge(described_recipe) } it "installs the defaultable package" do expect(chef_run).to install_package("defaultable") end it "installs the identifiable package" do expect(chef_run).to install_package("identifiable") end it "installs the installable package" do expect(chef_run).to install_package("installable") end it "purges the purgeable package" do expect(chef_run).to purge_package("purgeable") end it "reconfigs the reconfigurable package" do expect(chef_run).to reconfig_package("reconfigurable") end it "removes the removeable package" do expect(chef_run).to remove_package("removeable") end it "upgrades the upgradable package" do expect(chef_run).to upgrade_package("upgradable") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chefspec-bootstrap-0.0.5 | spec/templates/package.txt |