spec/integration/default_spec.rb in itamae-1.9.4 vs spec/integration/default_spec.rb in itamae-1.9.5
- old
+ new
@@ -230,5 +230,13 @@
end
describe file('/tmp/file_edit_notifies') do
its(:content) { should eq("1") }
end
+
+describe file('/tmp/file_without_content_change_updates_mode_and_owner') do
+ its(:content) { should eq("Hello, world") }
+ it { should be_mode 666 }
+ it { should be_owned_by "itamae2" }
+ it { should be_grouped_into "itamae2" }
+end
+