Install nginx on acceptance spec test container instead of apache to speed things up
This commit is contained in:
parent
8c884a2e8c
commit
04826af3c9
2 changed files with 2 additions and 2 deletions
2
spec/Vagrantfile
vendored
2
spec/Vagrantfile
vendored
|
@ -29,5 +29,5 @@ Vagrant.configure("2") do |config|
|
|||
|
||||
config.vm.network :forwarded_port, guest: 80, host: 8080
|
||||
config.vm.provision :shell,
|
||||
inline: 'sudo apt-get install apache2 -y'
|
||||
inline: 'sudo apt-get install nginx -y && sudo service nginx start'
|
||||
end
|
||||
|
|
|
@ -36,7 +36,7 @@ describe 'Sanity check' do
|
|||
|
||||
it 'forwards configured ports' do
|
||||
output = `curl -s localhost:8080`.strip.chomp
|
||||
expect(output).to include 'It works!'
|
||||
expect(output).to include 'Welcome to nginx!'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue