diff --git a/spec/integration/dsl_spec.rb b/spec/integration/dsl_spec.rb index 608c3b3f..dc6573f8 100644 --- a/spec/integration/dsl_spec.rb +++ b/spec/integration/dsl_spec.rb @@ -422,7 +422,7 @@ describe Capistrano::DSL do dsl.set(:default_env, default_env) dsl.set(:pty, true) 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, :auth_methods => %w(publickey password)) dsl.configure_backend diff --git a/spec/lib/capistrano/git_spec.rb b/spec/lib/capistrano/git_spec.rb index cf4dfd69..611599a3 100644 --- a/spec/lib/capistrano/git_spec.rb +++ b/spec/lib/capistrano/git_spec.rb @@ -69,7 +69,7 @@ module Capistrano it "should run git update in shallow mode" do context.expects(:fetch).with(:git_shallow_clone).returns("1") 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 end diff --git a/spec/lib/capistrano_spec.rb b/spec/lib/capistrano_spec.rb index dd36a43c..4da8c8c0 100644 --- a/spec/lib/capistrano_spec.rb +++ b/spec/lib/capistrano_spec.rb @@ -2,6 +2,6 @@ require "spec_helper" module Capistrano describe Application do - let(:app) { Application.new } + let(:app) { Application.new } end end