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.
- 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:in `send’
./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:
- expected exactly once, not yet invoked:
ActiveMerchant::Billing::IdealResponse.new(‘response’, {:test => true})
satisfied expectations: - expected exactly once, already invoked once:
#ActiveMerchant::Billing::IdealGateway:0x7f1d474d7d88.ssl_post(’
https://ideal.secure-ing.com:443/ideal/iDeal’, ‘data’)
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)