spec/support/test_app.rb in capistrano-3.16.0 vs spec/support/test_app.rb in capistrano-3.17.0
- old
+ new
@@ -38,9 +38,10 @@
def create_test_app
FileUtils.rm_rf(test_app_path)
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
Dir.chdir(test_app_path) do
run "bundle"