Skip to content

Commit a09975d

Browse files
authored
Merge pull request #26 from mihaibuzgau/master
(maint) fix set to `_none_` test for Fedora
2 parents fdc028b + a3b2841 commit a09975d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/tests/yumrepo_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def resource(host, type, name)
139139
apply_manifest(pp, catch_changes: true)
140140
end
141141

142-
if fact('os.release.major') == '8'
142+
if fact('os.release.major').to_i >= 8
143143
describe file('/etc/yum.repos.d/proxied-repo.repo') do
144144
its(:content) { is_expected.to match(%r{^proxy=$}) }
145145
end

0 commit comments

Comments
 (0)