From e8b0f0a745c65babb91c2d049743fc09140a282b Mon Sep 17 00:00:00 2001 From: Adam Jahn Date: Sun, 12 Apr 2015 23:07:42 -0400 Subject: fix test to support ruby 1.8.7 --- spec/classes/samba__server__service_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'spec/classes/samba__server__service_spec.rb') 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' }} -- cgit v1.2.3