diff options
Diffstat (limited to 'spec')
-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 |