spec/integration/default_spec.rb in itamae-1.3.0 vs spec/integration/default_spec.rb in itamae-1.3.1

- old
+ new

@@ -35,9 +35,13 @@ it { should be_mode 700 } it { should be_owned_by "itamae" } it { should be_grouped_into "itamae" } end +describe file('/tmp/directory_never_exist1') do + it { should_not be_directory } +end + %w!/tmp/template /tmp/template_auto!.each do |f| describe file(f) do it { should be_file } its(:content) { should match(/Hello/) } its(:content) { should match(/Good bye/) }