Sha256: 3af280910ece646b4c854133fda193794493b9b27e1b24f384f226553187b1f5

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.0.5 spec/templates/directory.txt