Sha256: a87208c6f77126f3e7b4d76acb009f2656a147bee3a7c4fdab37487cff0b3e88

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

require 'chefspec'
require_relative '../spec_helper'

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

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

  it 'ignores the unactionable package' do
    expect(chef_run.package('unactionable')).to do_nothing
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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