Merge pull request #188 from sd63/fix_regex_warning
escape more braces properly
This commit is contained in:
commit
9d32257f85
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