I am new to the ruby and capistrano community so please be gentle if I
break your social norms.
In trying to figure out why cap on windows will not deploy to a linux
box. I grabbed the trunk and ran tests and got 2 failures. I wondered
if the tests were running against the installed capistrano gem or the
trunk code. So I uninstalled the capistrano gem and re-ran the tests
and all were successful.
I repeated this test on a linux box and the tests succeeded with and
without the gem installed.
Here is the stack trace for the failing tests (when the gem is
installed on Windows):
1) Failure:
test_connection_error_should_include_accessor_with_host_array(ConfigurationConnectionsTest)
[./test/configuration/connections_test.rb:111:in
`test_connection_error_should_include_accessor_with_host_array'
c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.5.3/lib/mocha/
test_case_adapter.rb:19:in `__send__'
c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.5.3/lib/mocha/
test_case_adapter.rb:19:in `run']:
<["cap1", "cap2"]> expected but was
<["cap2", "cap1"]>.
2) Failure:
test_execute_servers_should_not_raise_connection_error_on_failure_with_on_errors_continue(ConfigurationConnectionsTest)
[./test/configuration/connections_test.rb:210:in
`test_execute_servers_should_not_raise_connection_error_on_failure_
with_on_errors_continue'
./test/cli/../../lib/capistrano/configuration/connections.rb:
135:in `execute_on_servers'
./test/configuration/connections_test.rb:209:in
`test_execute_servers_should_not_raise_connection_error_on_failure_
with_on_errors_continue'
./test/configuration/connections_test.rb:208:in
`test_execute_servers_should_not_raise_connection_error_on_failure_
with_on_errors_continue'
c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.5.3/lib/mocha/
test_case_adapter.rb:19:in `__send__'
c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.5.3/lib/mocha/
test_case_adapter.rb:19:in `run']:
<["cap2"]> expected but was
<["cap1"]>.
399 tests, 1045 assertions, 2 failures, 0 errors
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---