Browse Source

declaring title in test incorrectly

master
Aaron Hicks 6 years ago
parent
commit
fa3d1daab8
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      spec/defines/setup_spec.rb

+ 2
- 2
spec/defines/setup_spec.rb View File

@@ -7,7 +7,7 @@ describe 'gpg::keymaster::setup', :type => :define do
:osfamily => 'Debian'
}
end
let(:params) {{:title => 'test'}}
let(:title) { 'test' }
it { should include_class("gpg::params")}
it { should contain_file("/var/lib/puppet-keymaster/gpg/test")}
it { should contain_file("/var/lib/puppet-keymaster/gpg/test/keygen.txt")}
@@ -18,7 +18,7 @@ describe 'gpg::keymaster::setup', :type => :define do
:osfamily => 'RedHat'
}
end
let(:params) {{:title => 'test'}}
let(:title) { 'test' }
it { should include_class("gpg::params")}
it { should contain_file("/var/lib/puppet-keymaster/gpg/test")}
it { should contain_file("/var/lib/puppet-keymaster/gpg/test/keygen.txt")}

Loading…
Cancel
Save