Skip to content

Instantly share code, notes, and snippets.

@edzhelyov
Created February 7, 2012 11:47
Show Gist options
  • Save edzhelyov/1759309 to your computer and use it in GitHub Desktop.
Save edzhelyov/1759309 to your computer and use it in GitHub Desktop.
Running tests
BACKTRACE=true ruby -Itest test/backend/active_resource/locale_test.rb
Loaded suite test/backend/active_resource/locale_test
Started
EEE
Finished in 0.163526 seconds.
1) Error:
test: find the primary locale should return primary locale. (I18n::Backend::ActiveResource::LocaleTest):
Errno::ECONNREFUSED: Connection refused - connect(2)
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `initialize'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `open'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `connect_without_fakeweb'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/timeout.rb:53:in `timeout'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/timeout.rb:101:in `timeout'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `connect_without_fakeweb'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/fakeweb-1.3.0/lib/fake_web/ext/net_http.rb:49:in `request_without_vcr'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr/extensions/net_http.rb:12:in `request'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:772:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:113:in `send'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:113:in `request'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:110:in `request'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:80:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:218:in `with_auth'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:80:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/custom_methods.rb:57:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/base.rb:915:in `find_one'
./test/../lib/i18n/backend/active_resource/locale.rb:38:in `primary_locale'
test/backend/active_resource/locale_test.rb:28:in `__bind_1328615206_777156'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr/util/variable_args_block_caller.rb:8:in `call'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr/util/variable_args_block_caller.rb:8:in `call_block'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr.rb:76:in `use_cassette'
test/backend/active_resource/locale_test.rb:27:in `__bind_1328615206_777156'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/shoulda-2.11.3/lib/shoulda/context.rb:382:in `call'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/shoulda-2.11.3/lib/shoulda/context.rb:382:in `test: find the primary locale should return primary locale. '
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/mocha-0.10.3/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:22:in `__send__'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/mocha-0.10.3/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:22:in `run'
2) Error:
test: return all available_locales should return locales. (I18n::Backend::ActiveResource::LocaleTest):
Errno::ECONNREFUSED: Connection refused - connect(2)
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `initialize'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `open'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `connect_without_fakeweb'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/timeout.rb:53:in `timeout'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/timeout.rb:101:in `timeout'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `connect_without_fakeweb'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/fakeweb-1.3.0/lib/fake_web/ext/net_http.rb:49:in `request_without_vcr'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr/extensions/net_http.rb:12:in `request'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:772:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:113:in `send'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:113:in `request'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:110:in `request'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:80:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:218:in `with_auth'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:80:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/base.rb:902:in `find_every'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/base.rb:814:in `find'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/base.rb:840:in `all'
./test/../lib/i18n/backend/active_resource/locale.rb:25:in `all'
test/backend/active_resource/locale_test.rb:18:in `__bind_1328615206_935026'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr/util/variable_args_block_caller.rb:8:in `call'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr/util/variable_args_block_caller.rb:8:in `call_block'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr.rb:76:in `use_cassette'
test/backend/active_resource/locale_test.rb:16:in `__bind_1328615206_935026'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/shoulda-2.11.3/lib/shoulda/context.rb:382:in `call'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/shoulda-2.11.3/lib/shoulda/context.rb:382:in `test: return all available_locales should return locales. '
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/mocha-0.10.3/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:22:in `__send__'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/mocha-0.10.3/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:22:in `run'
3) Error:
test: updating the translations for the locale should post all translations to the hub. (I18n::Backend::ActiveResource::LocaleTest):
Errno::ECONNREFUSED: Connection refused - connect(2)
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `initialize'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `open'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `connect_without_fakeweb'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/timeout.rb:53:in `timeout'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/timeout.rb:101:in `timeout'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:560:in `connect_without_fakeweb'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/fakeweb-1.3.0/lib/fake_web/ext/net_http.rb:49:in `request_without_vcr'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr/extensions/net_http.rb:12:in `request'
/home/evgenidzhelyov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/net/http.rb:772:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:113:in `send'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:113:in `request'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:110:in `request'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:80:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:218:in `with_auth'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/connection.rb:80:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/custom_methods.rb:57:in `get'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/activeresource-3.1.3/lib/active_resource/base.rb:915:in `find_one'
./test/../lib/i18n/backend/active_resource/locale.rb:38:in `primary_locale'
test/backend/active_resource/locale_test.rb:39:in `__bind_1328615206_939163'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr/util/variable_args_block_caller.rb:8:in `call'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr/util/variable_args_block_caller.rb:8:in `call_block'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/vcr-1.11.3/lib/vcr.rb:76:in `use_cassette'
test/backend/active_resource/locale_test.rb:38:in `__bind_1328615206_939163'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/shoulda-2.11.3/lib/shoulda/context.rb:382:in `call'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@global/gems/shoulda-2.11.3/lib/shoulda/context.rb:382:in `test: updating the translations for the locale should post all translations to the hub. '
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/mocha-0.10.3/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:22:in `__send__'
/home/evgenidzhelyov/.rvm/gems/ruby-1.8.7-p330@i18n/gems/mocha-0.10.3/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:22:in `run'
3 tests, 0 assertions, 0 failures, 3 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment