spec/integration/default_spec.rb in itamae-1.0.0.beta2 vs spec/integration/default_spec.rb in itamae-1.0.0.beta3

- old
+ new

@@ -51,5 +51,19 @@ describe file('/tmp/subscribes') do it { should be_file } its(:content) { should eq("2431") } end +describe file('/tmp/cron_stopped') do + it { should be_file } + its(:content) do + expect(subject.content.lines.size).to eq 0 + end +end + +describe file('/tmp/cron_running') do + it { should be_file } + its(:content) do + expect(subject.content.lines.size).to eq 1 + end +end +