test/scm/subversion_test.rb in capistrano-1.4.1 vs test/scm/subversion_test.rb in capistrano-1.4.2

- old
+ new

@@ -132,6 +132,14 @@ @config[:svn_username] = "turtledove" assert_nothing_raised { @scm.checkout(@actor) } assert_nil @actor.channels.last.sent_data assert_match %r{/path/to/svn\b.*\bco\b.* --username turtledove}, @actor.command end + + def test_svn_no_auth_cache + @actor.story = [] + @config[:svn_username] = "turtledove" + assert_nothing_raised { @scm.checkout(@actor) } + assert_nil @actor.channels.last.sent_data + assert_match %r{/path/to/svn\b.*\bco\b.* --no-auth-cache --username turtledove}, @actor.command + end end