Skip to content

Commit

Permalink
Fix warnings and errors in cucumber feature tests (capistrano#2095)
Browse files Browse the repository at this point in the history
* Fix failing apt-get due to unsupported Ubuntu ver

* Fix Gemfile warning due to missing source line
  • Loading branch information
mattbrictson authored Jan 8, 2022
1 parent f5a1677 commit 8eca8fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Vagrant.configure("2") do |config|
[:app].each_with_index do |role, i|
config.vm.define(role, primary: true) do |primary|
primary.vm.define role
primary.vm.box = "hashicorp/precise64"
primary.vm.box = "hashicorp/bionic64"
primary.vm.network "forwarded_port", guest: 22, host: "222#{i}".to_i
primary.vm.provision :shell, inline: "sudo apt-get -y install git-core"

Expand Down
1 change: 1 addition & 0 deletions spec/support/test_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def create_test_app
FileUtils.mkdir(test_app_path)

File.open(gemfile, "w+") do |file|
file.write "source 'https://rubygems.org'\n"
file.write "gem 'capistrano', path: '#{path_to_cap}'"
end

Expand Down

0 comments on commit 8eca8fe

Please sign in to comment.