aboutsummaryrefslogtreecommitdiff
path: root/spec/classes/samba__server__service_spec.rb
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2015-04-12 23:07:42 -0400
committerAdam Jahn <ajjahn@gmail.com>2015-04-12 23:07:42 -0400
commite8b0f0a745c65babb91c2d049743fc09140a282b (patch)
treeb68b4b1ba86c057562344c9f81c79d569a1c848b /spec/classes/samba__server__service_spec.rb
parent155d95012e69d0c595dc5545aff72acddb05c39e (diff)
downloadpuppet-samba-e8b0f0a745c65babb91c2d049743fc09140a282b.tar.gz
puppet-samba-e8b0f0a745c65babb91c2d049743fc09140a282b.tar.bz2
fix test to support ruby 1.8.7
Diffstat (limited to 'spec/classes/samba__server__service_spec.rb')
-rw-r--r--spec/classes/samba__server__service_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/classes/samba__server__service_spec.rb b/spec/classes/samba__server__service_spec.rb
index bc28a9b..6498124 100644
--- a/spec/classes/samba__server__service_spec.rb
+++ b/spec/classes/samba__server__service_spec.rb
@@ -4,8 +4,7 @@ describe 'samba::server::service' do
context 'on a Debian os family' do
let(:facts) {{ :osfamily => 'Debian' }}
- it { should contain_service('samba')
- .with_require('Class[Samba::Server::Config]') }
+ it { should contain_service('samba').with_require('Class[Samba::Server::Config]') }
context 'Debian' do
let(:facts) {{ :osfamily => 'Debian', :operatingsystem => 'Debian' }}