escape more braces properly
Fixes a couple of rspec regex warnings.
This commit is contained in:
parent
b549f7b848
commit
0001a03cd9
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ describe 'apt::unattended_upgrades', :type => :class do
|
|||
describe "origins" do
|
||||
describe "with param defaults" do
|
||||
let(:params) {{ }}
|
||||
it { should contain_file(file_unattended).with_content(/^Unattended-Upgrade::Allowed-Origins \{\n\t"\${distro_id}:\${distro_codename}-security";\n\};$/) }
|
||||
it { should contain_file(file_unattended).with_content(/^Unattended-Upgrade::Allowed-Origins \{\n\t"\$\{distro_id\}:\$\{distro_codename\}-security";\n\};$/) }
|
||||
end
|
||||
|
||||
describe "with origins => ['ubuntu:precise-security']" do
|
||||
|
|
Loading…
Reference in a new issue