diff --git a/spec/Vagrantfile b/spec/Vagrantfile index 67d553a..bfcc366 100644 --- a/spec/Vagrantfile +++ b/spec/Vagrantfile @@ -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 diff --git a/spec/acceptance/sanity_check_spec.rb b/spec/acceptance/sanity_check_spec.rb index f4b240f..e214d45 100644 --- a/spec/acceptance/sanity_check_spec.rb +++ b/spec/acceptance/sanity_check_spec.rb @@ -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