open-pay/openpay-ruby

Fix travis build, all cases should pass. GREEN BUILD.

Closed this issue · 2 comments

There are some test cases failing.

97 examples, 6 failures, 5 pending

Failed examples:

rspec ./test/spec/customers_spec.rb:50 # Customers.create fails when passing invalid information
rspec ./test/spec/customers_spec.rb:113 # Customers.each list all customers
rspec ./test/spec/customers_spec.rb:165 # Customers.all list all the customers
rspec ./test/spec/customers_spec.rb:193 # Customers.delete_all deletes all customer records
rspec ./test/spec/exceptions_spec.rb:39 # Openpay Exceptions OpenpayTransactionException should fail when an invalid field-value is passed in *email
rspec ./test/spec/exceptions_spec.rb:113 # Openpay Exceptions OpenpayConnectionException raise an OpenpayConnectionException when provided credentials are invalid

rspec ./test/spec/payouts_spec.rb:25 # Payouts.create creates a merchant payout
rspec ./test/spec/payouts_spec.rb:94 # Payouts.get gets a merchant payout
rspec ./test/spec/payouts_spec.rb:132 # Payouts.all all merchant payouts

These should be fixed to have a 📗 build.

Pending:

  • Payouts
  • confirm_capture
#last
rspec ./test/spec/charges_spec.rb:31 # Charges.create creates a new merchant charge using the card method using a pre-stored card
rspec ./test/spec/charges_spec.rb:102 # Charges.get gets a merchant charge
rspec ./test/spec/charges_spec.rb:168 # Charges.capture captures  a merchant card charge
rspec ./test/spec/charges_spec.rb:218 # Charges.refund refunds  an existing merchant charge
rspec ./test/spec/exceptions_spec.rb:65 # Openpay Exceptions OpenpayTransactionException fails when trying to create an existing card

All cases passing