Skip to content

Instantly share code, notes, and snippets.

@rdp
Created October 13, 2010 21:35
Show Gist options
  • Select an option

  • Save rdp/624959 to your computer and use it in GitHub Desktop.

Select an option

Save rdp/624959 to your computer and use it in GitHub Desktop.
rake test:units failures on 1.9.2 mingw
1) Failure:
test_basic_payment_service(ActionViewHelperTest) [test/unit/integrations/action_view_helper_test.rb:36]:
Failed to match <input id="order" name="order" type="hidden" value="order-1" />.
Expected /<input id="account" name="account" type="hidden" value="test" \/>/ to match "<input id=\"order\" name=\"order\" type=\"hidden\" value=\"order-1\" />".
2) Failure:
test_initialize_does_not_raise_an_error(BraintreeBlueTest) [test/unit/gateways/braintree_blue_test.rb:5]:
Exception raised:
<#<RuntimeError: Could not load the braintree gem. Use `gem install braintree` to install it.>>.
3) Error:
test_new_with_merchant_id_creates_braintree_blue(BraintreeTest):
RuntimeError: Could not load the braintree gem. Use `gem install braintree` to install it.
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/braintree_blue.rb:6:in `rescue in <top (required)>'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/braintree_blue.rb:3:in `<top (required)>'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/braintree.rb:12:in `new'
test/unit/gateways/braintree_test.rb:14:in `test_new_with_merchant_id_creates_braintree_blue'
D:/installs/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
4) Failure:
test_address_mapping(ChronopayHelperTest) [test/unit/integrations/helpers/chronopay_helper_test.rb:30]:
<"CAN"> expected but was
<"[CAN]">.
5) Failure:
test_country_code_mapping(ChronopayHelperTest) [test/unit/integrations/helpers/chronopay_helper_test.rb:38]:
<"CAN"> expected but was
<"[CAN]">.
6) Failure:
test_province_code_mapping_non_us(ChronopayHelperTest) [test/unit/integrations/helpers/chronopay_helper_test.rb:43]:
<"DEU"> expected but was
<"[DEU]">.
7) Failure:
test_sets_corresponding_checkout_language_for_country(ChronopayHelperTest) [test/unit/integrations/helpers/chronopay_helper_test.rb:72]:
<"DE"> expected but was
<"EN">.
8) Failure:
test_state_code_mapping_us(ChronopayHelperTest) [test/unit/integrations/helpers/chronopay_helper_test.rb:49]:
<"USA"> expected but was
<"[USA]">.
9) Failure:
test_country_for_alpha2_code(CountryTest) [test/unit/country_test.rb:16]:
<"CA"> expected but was
<"[CA]">.
10) Failure:
test_country_from_hash(CountryTest) [test/unit/country_test.rb:8]:
<"CA"> expected but was
<"[CA]">.
11) Failure:
test_find_australia(CountryTest) [test/unit/country_test.rb:45]:
<"AU"> expected but was
<"[AU]">.
12) Failure:
test_find_united_kingdom(CountryTest) [test/unit/country_test.rb:53]:
<"GB"> expected but was
<"[GB]">.
13) Error:
test_error_on_purchase(FirstPayTest):
TypeError: can't convert Time into Integer
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `rand'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `add_invoice'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:42:in `purchase'
test/unit/gateways/first_pay_test.rb:42:in `test_error_on_purchase'
D:/installs/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
14) Error:
test_failed_credit(FirstPayTest):
TypeError: can't convert Time into Integer
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `rand'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `add_invoice'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:54:in `credit'
test/unit/gateways/first_pay_test.rb:63:in `test_failed_credit'
D:/installs/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
15) Error:
test_failed_purchase(FirstPayTest):
TypeError: can't convert Time into Integer
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `rand'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `add_invoice'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:42:in `purchase'
test/unit/gateways/first_pay_test.rb:33:in `test_failed_purchase'
D:/installs/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
16) Error:
test_failed_void(FirstPayTest):
TypeError: can't convert Time into Integer
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `rand'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `add_invoice'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:67:in `void'
test/unit/gateways/first_pay_test.rb:89:in `test_failed_void'
D:/installs/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
17) Error:
test_successful_credit(FirstPayTest):
TypeError: can't convert Time into Integer
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `rand'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `add_invoice'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:54:in `credit'
test/unit/gateways/first_pay_test.rb:52:in `test_successful_credit'
D:/installs/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
18) Error:
test_successful_purchase(FirstPayTest):
TypeError: can't convert Time into Integer
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `rand'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `add_invoice'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:42:in `purchase'
test/unit/gateways/first_pay_test.rb:22:in `test_successful_purchase'
D:/installs/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
19) Error:
test_successful_void(FirstPayTest):
TypeError: can't convert Time into Integer
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `rand'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:92:in `add_invoice'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/first_pay.rb:67:in `void'
test/unit/gateways/first_pay_test.rb:79:in `test_successful_void'
D:/installs/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
20) Error:
test_successful_purchase(PayboxDirectTest):
TypeError: can't convert Symbol into Integer
C:/dev/ruby/active_merchant/lib/active_merchant/billing/avs_result.rb:73:in `[]'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/avs_result.rb:73:in `initialize'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/response.rb:27:in `new'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/response.rb:27:in `initialize'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/paybox_direct.rb:146:in `new'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/paybox_direct.rb:146:in `commit'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/paybox_direct.rb:80:in `purchase'
test/unit/gateways/paybox_direct_test.rb:25:in `test_successful_purchase'
D:/installs/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
21) Error:
test_unsuccessful_request(PayboxDirectTest):
TypeError: can't convert Symbol into Integer
C:/dev/ruby/active_merchant/lib/active_merchant/billing/avs_result.rb:73:in `[]'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/avs_result.rb:73:in `initialize'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/response.rb:27:in `new'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/response.rb:27:in `initialize'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/paybox_direct.rb:146:in `new'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/paybox_direct.rb:146:in `commit'
C:/dev/ruby/active_merchant/lib/active_merchant/billing/gateways/paybox_direct.rb:80:in `purchase'
test/unit/gateways/paybox_direct_test.rb:39:in `test_unsuccessful_request'
D:/installs/ruby-1.9.2-p0-i386-mingw32/lib/ruby/gems/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
22) Failure:
test_html_safety(PaymentServiceControllerTest) [test/unit/integrations/action_view_helper_test.rb:92]:
Failed to match <input id="order" name="order" type="hidden" value="order-1" />.
Expected /<input id="account" name="account" type="hidden" value="test" \/>/ to match "<input id=\"order\" name=\"order\" type=\"hidden\" value=\"order-1\" />".
23) Failure:
test_country_code(PaypalHelperTest) [test/unit/integrations/helpers/paypal_helper_test.rb:120]:
<"CA"> expected but was
<"[CA]">.
24) Failure:
test_phone_parsing(PaypalHelperTest) [test/unit/integrations/helpers/paypal_helper_test.rb:77]:
<"111"> expected but was
<nil>.
25) Failure:
test_province(PaypalHelperTest) [test/unit/integrations/helpers/paypal_helper_test.rb:96]:
<"CA"> expected but was
<"[CA]">.
26) Failure:
test_shipping_address(PaypalHelperTest) [test/unit/integrations/helpers/paypal_helper_test.rb:66]:
<"CA"> expected but was
<"[CA]">.
27) Failure:
test_state(PaypalHelperTest) [test/unit/integrations/helpers/paypal_helper_test.rb:104]:
<"US"> expected but was
<"[US]">.
28) Failure:
test_accessors(QuickpayNotificationTest) [test/unit/integrations/notifications/quickpay_notification_test.rb:17]:
<2008-11-05 21:57:37 -0700> expected but was
<0008-11-05 21:57:37 -0700>.
29) Failure:
test_non_us_address_mapping(SagePayFormHelperTest) [test/unit/integrations/helpers/sage_pay_form_helper_test.rb:67]:
<"GB"> expected but was
<"[GB]">.
30) Failure:
test_us_address_mapping(SagePayFormHelperTest) [test/unit/integrations/helpers/sage_pay_form_helper_test.rb:46]:
<"US"> expected but was
<"[US]">.
31) Failure:
test_failure_without_response_reason_text(SecureNetTest) [test/unit/gateways/secure_net_test.rb:124]:
Exception raised:
<#<TypeError: can't convert Symbol into Integer>>.
32) Failure:
test_address_mapping(TwoCheckoutHelperTest) [test/unit/integrations/helpers/two_checkout_helper_test.rb:41]:
<"CA"> expected but was
<"[CA]">.
870 tests, 2628 assertions, 22 failures, 10 errors, 0 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment