spec/lib/mundipagg/gateway_spec.rb in better-mundipagg-0.1.0 vs spec/lib/mundipagg/gateway_spec.rb in better-mundipagg-0.1.1
- old
+ new
@@ -36,11 +36,11 @@
}
}
}).and_return(gateway_response)
response = gateway.purchase(100, boleto)
- expect(response).to be_a(Mundipagg::Boleto::Response)
+ expect(response).to be_a(ActiveMerchant::Billing::Response)
expect(response).to be_success
end
end
describe "#refund" do
@@ -73,10 +73,10 @@
merchant_key: "MERCHANT-KEY",
order_key: "ORDER-KEY"
}).and_return(gateway_response)
response = gateway.refund(100, refund)
- expect(response).to be_a(Mundipagg::Refund::Response)
+ expect(response).to be_a(ActiveMerchant::Billing::Response)
expect(response).to be_success
end
end
end