Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8759

Show
Ignore:
Timestamp:
01/31/08 04:55:21 (6 months ago)
Author:
minam
Message:

Add test case from #10515 to show that scm_command is honored by the git module. (The rest was implemented as a side-effect of [8755]. closes #10515)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/capistrano/CHANGELOG

    r8758 r8759  
    11*SVN* 
     2 
     3* Added test case to show that the :scm_command is honored by the git SCM module [grempe] 
    24 
    35* Fail gracefully when double-colons are used to delimit namespaces [richie] 
  • tools/capistrano/test/deploy/scm/git_test.rb

    r7695 r8759  
    5757    @config[:branch] = "origin/foo" 
    5858    assert_equal "cd #{dest} && git fetch origin && git merge origin/foo", @source.sync('Not used', dest) 
     59 
     60    # With :scm_command 
     61    @config[:scm_command] = "/opt/local/bin/git" 
     62    assert_equal "cd #{dest} && /opt/local/bin/git fetch origin && /opt/local/bin/git merge origin/foo", @source.sync('Not used', dest) 
    5963  end 
    6064