1
0
зеркало из https://github.com/glebtv/yookassa.git synced 2026-09-03 17:55:51 +03:00
Этот коммит содержится в:
Ivan Shamatov
2021-11-07 14:38:28 +03:00
коммит произвёл GitHub
родитель 76ea756877
Коммит 9412846bbd
3 изменённых файлов: 62 добавлений и 7 удалений

Просмотреть файл

@@ -27,7 +27,7 @@ RSpec.describe Yookassa::Payments do
expect(subject.amount.currency).to eq "RUB"
expect(subject.amount.value).to eq 10.0
expect(subject.confirmation).to be_a Yookassa::Entity::Confirmation
expect(subject.confirmation).to be_a Yookassa::Entity::Confirmation::Redirect
expect(subject.confirmation.confirmation_url).to eq "https://money.yookassa.ru/payments/external/confirmation?orderId=2490ded1-000f-5000-8000-1f64111bc63e"
expect(subject.confirmation.type).to eq "redirect"
expect(subject.confirmation.return_url).to eq "https://url.test"