spec/integration/default_spec.rb in itamae-1.0.10 vs spec/integration/default_spec.rb in itamae-1.0.11
- old
+ new
@@ -31,9 +31,10 @@
describe file('/tmp/template') do
it { should be_file }
its(:content) { should match(/Hello/) }
its(:content) { should match(/Good bye/) }
+ its(:content) { should match(/^total memory: \d+kB$/) }
end
describe file('/tmp/file') do
it { should be_file }
its(:content) { should match(/Hello World/) }