mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Fix Style/ExtraSpacing
This commit is contained in:
parent
9dc9462d04
commit
706d921712
3 changed files with 3 additions and 3 deletions
|
@ -422,7 +422,7 @@ describe Capistrano::DSL do
|
||||||
dsl.set(:default_env, default_env)
|
dsl.set(:default_env, default_env)
|
||||||
dsl.set(:pty, true)
|
dsl.set(:pty, true)
|
||||||
dsl.set(:connection_timeout, 10)
|
dsl.set(:connection_timeout, 10)
|
||||||
dsl.set(:ssh_options, :keys => %w(/home/user/.ssh/id_rsa),
|
dsl.set(:ssh_options, :keys => %w(/home/user/.ssh/id_rsa),
|
||||||
:forward_agent => false,
|
:forward_agent => false,
|
||||||
:auth_methods => %w(publickey password))
|
:auth_methods => %w(publickey password))
|
||||||
dsl.configure_backend
|
dsl.configure_backend
|
||||||
|
|
|
@ -69,7 +69,7 @@ module Capistrano
|
||||||
it "should run git update in shallow mode" do
|
it "should run git update in shallow mode" do
|
||||||
context.expects(:fetch).with(:git_shallow_clone).returns("1")
|
context.expects(:fetch).with(:git_shallow_clone).returns("1")
|
||||||
context.expects(:fetch).with(:branch).returns(:branch)
|
context.expects(:fetch).with(:branch).returns(:branch)
|
||||||
context.expects(:execute).with(:git, :fetch, "--depth", "1", "origin", :branch)
|
context.expects(:execute).with(:git, :fetch, "--depth", "1", "origin", :branch)
|
||||||
|
|
||||||
subject.update
|
subject.update
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,6 +2,6 @@ require "spec_helper"
|
||||||
|
|
||||||
module Capistrano
|
module Capistrano
|
||||||
describe Application do
|
describe Application do
|
||||||
let(:app) { Application.new }
|
let(:app) { Application.new }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue