Update Taler calls for new v0.2.0

This commit is contained in:
Maikel Linke
2026-02-02 15:44:34 +11:00
parent a2a9d32c5b
commit 52e2fb923e
2 changed files with 16 additions and 18 deletions

View File

@@ -354,8 +354,8 @@ RSpec.describe "As a consumer, I want to checkout my order" do
# Shortcut the user interaction and go straight to our
# confirmation action.
taler_order_id = { "order_id" => "taler-order:123" }
expect_any_instance_of(Taler::Client)
.to receive(:create_order).and_return(taler_order_id)
expect_any_instance_of(Taler::Order)
.to receive(:create).and_return(taler_order_id)
# And fake the payment status to avoid user interaction.
allow_any_instance_of(Taler::Client)