Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineco committed May 16, 2015
1 parent 7efdcbc commit 39e2336
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/classes/install/archive_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'ensure' => 'present',
'gid' => 'tomcat',
'system' => true
}).that_requires('Group[tomcat]')
})
end
end
describe 'default params' do
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
describe 'main class not included' do
let(:pre_condition) {}
it do
is_expected.to raise_error(Puppet::Error, /^You must include the tomcat base class before using any tomcat sub class/)
is_expected.to raise_error(Puppet::Error, /You must include the tomcat base class before using any tomcat sub class/)
end
end
describe 'install tomcat' do
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
describe 'main class not included' do
let(:pre_condition) {}
it do
is_expected.to raise_error(Puppet::Error, /^You must include the tomcat base class before using any tomcat sub class/)
is_expected.to raise_error(Puppet::Error, /You must include the tomcat base class before using any tomcat sub class/)
end
end
describe 'create tomcat service' do
Expand Down

0 comments on commit 39e2336

Please sign in to comment.