Sha256: 795920f01dcf75d177a1f67f8349941f1212d74c4838da30f5a8e67be3e234f9

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

require 'chefspec'
require_relative '../spec_helper'

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

  it 'creates the defaultable directory' do
    expect(chef_run).to create_directory('defaultable')
  end

  it 'creates the identifiable directory' do
    expect(chef_run).to create_directory('identifiable')
  end

  it 'creates the creatable directory' do
    expect(chef_run).to create_directory('creatable')
  end

  it 'deletes the deletable directory' do
    expect(chef_run).to delete_directory('deletable')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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