spec/integration/default_spec.rb in itamae-1.0.0.beta13 vs spec/integration/default_spec.rb in itamae-1.0.0.beta14

- old
+ new

@@ -76,5 +76,15 @@ it { should be_linked_to '/tmp' } its(:content) do expect(subject.content.lines.size).to eq 0 end end + +describe command('cd /tmp/git_repo && git rev-parse HEAD') do + its(:stdout) { should match(/3116e170b89dc0f7315b69c1c1e1fd7fab23ac0d/) } +end + +describe file('/tmp/created_by_itamae_user') do + it { should be_file } + it { should be_owned_by 'itamae' } +end +