diff options
author | Adam Jahn <ajjahn@gmail.com> | 2015-04-12 23:07:42 -0400 |
---|---|---|
committer | Adam Jahn <ajjahn@gmail.com> | 2015-04-12 23:07:42 -0400 |
commit | e8b0f0a745c65babb91c2d049743fc09140a282b (patch) | |
tree | b68b4b1ba86c057562344c9f81c79d569a1c848b /spec/classes/samba__server__service_spec.rb | |
parent | 155d95012e69d0c595dc5545aff72acddb05c39e (diff) | |
download | puppet-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.rb | 3 |
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' }} |