From 362fb86fffef8a9997c8f991f29edf8361b6314a Mon Sep 17 00:00:00 2001 From: Kir Shatrov Date: Thu, 17 Oct 2013 13:41:53 +0200 Subject: [PATCH] Default stage template cleanup Since `stage` is already set (https://github.com/capistrano/capistrano/pull/712), we don't need to declare it twice here. --- lib/capistrano/templates/stage.rb.erb | 2 -- spec/support/test_app.rb | 1 - 2 files changed, 3 deletions(-) diff --git a/lib/capistrano/templates/stage.rb.erb b/lib/capistrano/templates/stage.rb.erb index 65b86dd3..0bcd393e 100644 --- a/lib/capistrano/templates/stage.rb.erb +++ b/lib/capistrano/templates/stage.rb.erb @@ -1,5 +1,3 @@ -set :stage, :<%= stage %> - # Simple Role Syntax # ================== # Supports bulk-adding hosts to roles, the primary diff --git a/spec/support/test_app.rb b/spec/support/test_app.rb index 5f18d1fd..8e36c31b 100644 --- a/spec/support/test_app.rb +++ b/spec/support/test_app.rb @@ -8,7 +8,6 @@ module TestApp def default_config %{ - set :stage, :#{stage} set :deploy_to, '#{deploy_to}' set :repo_url, 'git://github.com/capistrano/capistrano.git' set :branch, 'v3'