Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Updated the verbose flag test. #58

Merged
merged 1 commit into from

2 participants

@ThePixelDeveloper

This test was wrong, all fixed now.

@leehambley leehambley merged commit bc620a5 into capistrano:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 23, 2011
  1. @ThePixelDeveloper
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/deploy/scm/git_test.rb
View
4 test/deploy/scm/git_test.rb
@@ -43,12 +43,12 @@ def test_checkout
assert_equal "#{git} clone -q git@somehost.com:project.git /var/www && cd /var/www && #{git} checkout -q -b deploy #{rev} && #{git} submodule -q init && #{git} submodule -q sync && #{git} submodule -q update --init --recursive", @source.checkout(rev, dest).gsub(/\s+/, ' ')
end
- def test_checkout_with_verbose_should_not_use_q_switch
+ def test_checkout_with_verbose_should_use_q_switch
@config[:repository] = "git@somehost.com:project.git"
@config[:scm_verbose] = true
dest = "/var/www"
rev = 'c2d9e79'
- assert_equal "git clone git@somehost.com:project.git /var/www && cd /var/www && git checkout -b deploy #{rev}", @source.checkout(rev, dest)
+ assert_equal "git clone -q git@somehost.com:project.git /var/www && cd /var/www && git checkout -q -b deploy #{rev}", @source.checkout(rev, dest)
end
def test_diff
Something went wrong with that request. Please try again.