Sha256: 67257402073365b590000a86f2eb0947cf1c37b15819819d90af1b8a6f11873b

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

require 'chefspec'
require_relative '../spec_helper'

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

  it 'installs the guardable package' do
    expect(chef_run).to_not install_package('guardable')
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

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