Avoid Ruby 1.8 breaking specs

This commit is contained in:
Markus Frosch 2015-10-30 10:58:28 +01:00
parent f0d392476c
commit 559ab7753d

View file

@ -422,7 +422,7 @@ describe 'icingaweb2', :type => :class do
it { it {
should contain_yumrepo('ICINGA-release').with( should contain_yumrepo('ICINGA-release').with(
'gpgkey' => /_PKG_REPO_RELEASE_KEY_/, 'gpgkey' => /_PKG_REPO_RELEASE_KEY_/
) )
} }
end end
@ -454,7 +454,7 @@ describe 'icingaweb2', :type => :class do
it { it {
should contain_yumrepo('ICINGA-release').with( should contain_yumrepo('ICINGA-release').with(
'metadata_expire' => /_PKG_REPO_RELEASE_METADATA_EXPIRE_/, 'metadata_expire' => /_PKG_REPO_RELEASE_METADATA_EXPIRE_/
) )
} }
end end
@ -486,7 +486,7 @@ describe 'icingaweb2', :type => :class do
it { it {
should contain_yumrepo('ICINGA-release').with( should contain_yumrepo('ICINGA-release').with(
'baseurl' => /_PKG_REPO_RELEASE_URL_/, 'baseurl' => /_PKG_REPO_RELEASE_URL_/
) )
} }
end end
@ -518,7 +518,7 @@ describe 'icingaweb2', :type => :class do
it { it {
should contain_yumrepo('ICINGA-snapshot').with( should contain_yumrepo('ICINGA-snapshot').with(
'gpgkey' => /_PKG_REPO_SNAPSHOT_KEY_/, 'gpgkey' => /_PKG_REPO_SNAPSHOT_KEY_/
) )
} }
end end
@ -550,7 +550,7 @@ describe 'icingaweb2', :type => :class do
it { it {
should contain_yumrepo('ICINGA-snapshot').with( should contain_yumrepo('ICINGA-snapshot').with(
'metadata_expire' => /_PKG_REPO_SNAPSHOT_METADATA_EXPIRE_/, 'metadata_expire' => /_PKG_REPO_SNAPSHOT_METADATA_EXPIRE_/
) )
} }
end end
@ -581,7 +581,7 @@ describe 'icingaweb2', :type => :class do
it { it {
should contain_yumrepo('ICINGA-snapshot').with( should contain_yumrepo('ICINGA-snapshot').with(
'baseurl' => /_PKG_REPO_SNAPSHOT_URL_/, 'baseurl' => /_PKG_REPO_SNAPSHOT_URL_/
) )
} }
end end