diff --git a/spec/acceptance/basic_spec.rb b/spec/acceptance/basic_spec.rb index 1b867d6..2121c31 100644 --- a/spec/acceptance/basic_spec.rb +++ b/spec/acceptance/basic_spec.rb @@ -197,12 +197,12 @@ describe 'puppet-cgit module', :if => ['fedora', 'redhat'].include?(os[:family]) end describe command("semanage port -l | grep '^http_port_t'") do - its (:stdout) { should match(/^http_port_t.*\b80,/) } - its (:stdout) { should match(/^http_port_t.*\b443,/) } + its (:stdout) { should match(/^http_port_t.*\b80/) } + its (:stdout) { should match(/^http_port_t.*\b443/) } end describe command("semanage port -l | grep '^git_port_t'") do - its(:stdout) { should match(/^git_port_t.*\b9418,/) } + its(:stdout) { should match(/^git_port_t.*\b9418/) } end end end diff --git a/spec/acceptance/behind_proxy_spec.rb b/spec/acceptance/behind_proxy_spec.rb index 498b2a2..afb2ddf 100644 --- a/spec/acceptance/behind_proxy_spec.rb +++ b/spec/acceptance/behind_proxy_spec.rb @@ -194,12 +194,12 @@ describe 'puppet-cgit module begind proxy', :if => ['fedora', 'redhat'].include? describe 'selinux' do describe command("semanage port -l | grep '^http_port_t'") do - its(:stdout) { should match(/^http_port_t.*\b8080,/) } - its(:stdout) { should match(/^http_port_t.*\b4443,/) } + its(:stdout) { should match(/^http_port_t.*\b8080/) } + its(:stdout) { should match(/^http_port_t.*\b4443/) } end describe command("semanage port -l | grep '^git_port_t'") do - its(:stdout) { should match(/^git_port_t.*\b29418,/) } + its(:stdout) { should match(/^git_port_t.*\b29418/) } end end end