Sha256: cd613d62e7d985c22f7bc15f07b6ea05238d8abb06383f5b58bfb7ac2111aa4e

Contents?: true

Size: 838 Bytes

Versions: 1

Compression:

Stored size: 838 Bytes

Contents

require 'chefspec'
require_relative '../spec_helper'

describe 'spec::multiple_actions' do
  let(:chef_run) { ChefSpec::Runner.new.converge(described_recipe) }

  it 'installs the multiactionable package' do
    expect(chef_run).to install_package('multiactionable')
  end

  it 'upgrades the multiactionable package' do
    expect(chef_run).to upgrade_package('multiactionable')
  end

  it 'purges the multiactionable package' do
    expect(chef_run).to purge_package('multiactionable')
  end

  it 'installs the mixactionable package' do
    expect(chef_run).to install_package('mixactionable').at_compile_time
  end

  it 'upgrades the mixactionable package' do
    expect(chef_run).to upgrade_package('mixactionable')
  end

  it 'purges the mixactionable package' do
    expect(chef_run).to purge_package('mixactionable')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chefspec-bootstrap-0.1.0 spec/meta/multiple_actions_spec.rb