diff options
author | Tomas Barton <barton.tomas@gmail.com> | 2014-01-26 11:25:11 +0100 |
---|---|---|
committer | Tomas Barton <barton.tomas@gmail.com> | 2014-01-26 18:26:34 +0100 |
commit | 550e78a4e673e89e5632c5b346952c47debbe36b (patch) | |
tree | a115b7cd29f6dca7e6c1e61b0712b07a9703fddf /spec/classes/init_spec.rb | |
parent | e935d75f627f33c67fc70503b3a34165d221c793 (diff) | |
download | puppet-sshd-550e78a4e673e89e5632c5b346952c47debbe36b.tar.gz puppet-sshd-550e78a4e673e89e5632c5b346952c47debbe36b.tar.bz2 |
ruby 1.8.7 compatibility
Diffstat (limited to 'spec/classes/init_spec.rb')
-rw-r--r-- | spec/classes/init_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb index 794a92e..1bf0750 100644 --- a/spec/classes/init_spec.rb +++ b/spec/classes/init_spec.rb @@ -8,11 +8,11 @@ describe 'sshd' do it { should contain_class('sshd') } it { should contain_class('sshd::client') } - it { should contain_service('sshd').with( + it { should contain_service('sshd').with({ :ensure => 'running', :enable => true, - :hasstatus => true, - )} + :hasstatus => true + })} it { should contain_file('sshd_config').with( { @@ -50,9 +50,9 @@ describe 'sshd' do it_behaves_like "a Linux OS" it { should contain_package('lsb-release') } it { should contain_package('openssh') } - it { should contain_service('sshd').with( + it { should contain_service('sshd').with({ :hasrestart => true - )} + })} end end |