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