Skip to content

Commit

Permalink
Merge pull request #1261 from tphoney/remove_passenger_test
Browse files Browse the repository at this point in the history
removing redhat passenger tests, for now
  • Loading branch information
jonnytdevops committed Nov 12, 2015
2 parents 8d1fdfb + a9bf898 commit aadfffb
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions spec/acceptance/vhost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1058,40 +1058,6 @@ class { 'apache': }
end
end

# Passenger isn't even in EPEL on el-5
if default['platform'] !~ /^el-5/
if fact('osfamily') == 'RedHat' and fact('operatingsystemmajrelease') == '7'
pending('Since we don\'t have passenger on RHEL7 rack_base_uris tests will fail')
else
describe 'rack_base_uris' do
if fact('osfamily') == 'RedHat'
it 'adds epel' do
pp = "class { 'epel': }"
apply_manifest(pp, :catch_failures => true)
end
end

it 'applies cleanly' do
pp = <<-EOS
class { 'apache': }
host { 'test.server': ip => '127.0.0.1' }
apache::vhost { 'test.server':
docroot => '/tmp',
rack_base_uris => ['/test'],
}
EOS
apply_manifest(pp, :catch_failures => true)
end

describe file("#{$vhost_dir}/25-test.server.conf") do
it { is_expected.to be_file }
it { is_expected.to contain 'RackBaseURI /test' }
end
end
end
end


describe 'request_headers' do
it 'applies cleanly' do
pp = <<-EOS
Expand Down

0 comments on commit aadfffb

Please sign in to comment.