Skip to content

Commit

Permalink
fix archlinux name in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saz committed Oct 18, 2024
1 parent 2d2317c commit 0500e9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/classes/sudo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
it { is_expected.to compile.and_raise_error(%r{'content' \(deprecated\) and 'content_string' are mutually exclusive}) }
end

unless os =~ %r{^(gentoo|archlinux-rolling)}
unless os =~ %r{^(gentoo|archlinux)}
context 'with deprecated content set' do
let :params do
{
Expand Down Expand Up @@ -106,7 +106,7 @@
end
end

unless os =~ %r{^(gentoo|archlinux-rolling)}
unless os =~ %r{^(gentoo|archlinux)}
context 'env_reset default is set' do
it { is_expected.to contain_file('/etc/sudoers').with_content(%r{^Defaults\s+env_reset$}) }
end
Expand Down

0 comments on commit 0500e9f

Please sign in to comment.