ActiveMerchant unit tests

Hi,

I’m testing my ActiveMerchant plugin installation with the iDeal payment
method. One test keeps failing even though I’ve inserted all the
credentials. The other test file, remote_ideal_test.rb, completes 100%
of
the tests with the same credentials.

Any thoughts on this error?

Best regards,
CmdJohnson


Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
…F…
Finished in 2.967798 seconds.

  1. Failure:
    test_posts_data_with_ssl_to_acquirer_url_and_return_the_correct_response(IdealTestCases::GeneralTest)
    [./test/unit/…/…/lib/active_merchant/billing/gateways/ideal.rb:327:in
    post_data' ./test/unit/gateways/ideal_test.rb:130:insend’
    ./test/unit/gateways/ideal_test.rb:130:in
    `test_posts_data_with_ssl_to_acquirer_url_and_return_the_correct_response’]:
    unexpected invocation:
    ActiveMerchant::Billing::IdealResponse.new(‘response’, {:test => false})
    unsatisfied expectations:

690 tests, 2026 assertions, 1 failures, 0 errors
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.8 -I"lib" -rubygems
"/usr/l…]

(See full trace by running task with --trace)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs