Skip to content

Commit f204644

Browse files
author
Shiva Poudel
committed
Merge pull request voxpupuli#177 from petems/fix_error_detection
rspec-puppet now returns non Puppet errors
2 parents a2da536 + b63429f commit f204644

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

spec/defines/requirements_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
let (:params) {{ :requirements => "/requirements.txt" }}
2222
it { is_expected.to contain_file("/requirements.txt").with_mode('0644') }
2323
end
24-
24+
2525
describe "with owner" do
2626
context "bob:bob" do
2727
let (:params) {{
2828
:owner => 'bob',
2929
:group => 'bob'
30-
}}
30+
}}
3131
it do
3232
expect {
3333
should compile
34-
}.to raise_error(Puppet::Error, /root user must be used when virtualenv is system/)
34+
}.to raise_error(/root user must be used when virtualenv is system/)
3535
end
3636
end
3737
end

0 commit comments

Comments
 (0)