Sha256: 4346b2daba5380e30c514a2659546fa119800486935d607cc487d0a7cf3947ad

Contents?: true

Size: 1.45 KB

Versions: 12

Compression:

Stored size: 1.45 KB

Contents

describe 'Moneta withdrawal types' do
  describe 'Bank Account' do
    subject { Moneta::Constants::Withdrawal::BANK }

    it { is_expected.to eq 5 }
  end

  describe 'Yandex Money' do
    subject { Moneta::Constants::Withdrawal::YANDEX_MONEY }

    it { is_expected.to eq 13 }
  end

  describe 'VKontakte' do
    subject { Moneta::Constants::Withdrawal::VKONTAKTE }

    it { is_expected.to eq 139 }
  end

  describe 'CyberPlat' do
    subject { Moneta::Constants::Withdrawal::CYBER_PLAT }

    it { is_expected.to eq 1144 }
  end

  describe 'Credit Card via Russian Standard Bank' do
    subject { Moneta::Constants::Withdrawal::CARD_RUSSIAN_STANDARD }

    it { is_expected.to eq 275 }
  end

  describe 'Credit Card via Alpha Bank' do
    subject { Moneta::Constants::Withdrawal::CARD_ALFA_BANK }

    it { is_expected.to eq 279 }
  end

  describe 'Money@Mail.ru' do
    subject { Moneta::Constants::Withdrawal::MAIL_MONEY }

    it { is_expected.to eq 268 }
  end

  describe 'QIWI' do
    subject { Moneta::Constants::Withdrawal::QIWI }

    it { is_expected.to eq 255 }
  end

  describe 'Webmoney WMR' do
    subject { Moneta::Constants::Withdrawal::Webmoney::WMR }

    it { is_expected.to eq 2 }
  end

  describe 'Webmoney WMZ' do
    subject { Moneta::Constants::Withdrawal::Webmoney::WMZ }

    it { is_expected.to eq 3 }
  end

  describe 'Webmoney WME' do
    subject { Moneta::Constants::Withdrawal::Webmoney::WME }

    it { is_expected.to eq 4 }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
moneta-api-2.1.0 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-2.0.0 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-2.0.0.rc2 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-2.0.0.rc1 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-1.13.0 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-1.12.8 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-1.12.7 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-1.12.6 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-1.12.5 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-1.12.4 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-1.12.3 spec/lib/moneta/constants/withdrawal_spec.rb
moneta-api-1.12.2 spec/lib/moneta/constants/withdrawal_spec.rb