aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTomas Barton <barton.tomas@gmail.com>2014-01-26 11:25:11 +0100
committerTomas Barton <barton.tomas@gmail.com>2014-01-26 18:26:34 +0100
commit550e78a4e673e89e5632c5b346952c47debbe36b (patch)
treea115b7cd29f6dca7e6c1e61b0712b07a9703fddf /spec
parente935d75f627f33c67fc70503b3a34165d221c793 (diff)
downloadpuppet-sshd-550e78a4e673e89e5632c5b346952c47debbe36b.tar.gz
puppet-sshd-550e78a4e673e89e5632c5b346952c47debbe36b.tar.bz2
ruby 1.8.7 compatibility
Diffstat (limited to 'spec')
-rw-r--r--spec/classes/init_spec.rb10
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