Sha256: 9cdc98818215c0cfe1b3a2d1bbd44f5bed00f325ca8a1d52e0b2c3d981b80e1b

Contents?: true

Size: 238 Bytes

Versions: 5

Compression:

Stored size: 238 Bytes

Contents

require 'spec_helper'

describe file('/tmp/sample') do
  it { should be_file }
  it { should be_mode 755 }
  it { should be_owned_by 'root' }
  it { should be_grouped_into 'root' }
  its(:content) { should match /This is a sample./ }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
itamae-spec-0.0.6 lib/itamae-spec/generators/templates/project/cookbooks/sample/spec/default_spec.rb
itamae-spec-0.0.5 lib/itamae-spec/generators/templates/project/cookbooks/sample/spec/default_spec.rb
itamae-spec-0.0.4 lib/itamae-spec/generators/templates/project/cookbooks/sample/spec/default_spec.rb
itamae-spec-0.0.3 lib/itamae-spec/generators/templates/project/cookbooks/sample/spec/default_spec.rb
itamae-spec-0.0.2 lib/itamae-spec/generators/templates/project/cookbooks/sample/spec/default_spec.rb