Skip to content

Commit

Permalink
Add positive and negative tests for #499
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Apr 11, 2017
1 parent 9341e04 commit b54f1f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/classes/test_duplicate_alias_spec.rb
Expand Up @@ -2,4 +2,7 @@

describe 'test::duplicate_alias' do
it { should compile }
it { should contain_exec('foo_bar_1') }
it { should contain_exec('foo_bar_2') }
it { should_not contain_exec('/bin/echo foo bar') }
end

0 comments on commit b54f1f5

Please sign in to comment.