Sha256: d7db3f2505efd2d478a8d0fed18bf88d39ee16e922462187b324768a1c4fa92d

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

require_relative '../lib/config.rb'
require_relative '../lib/voucherify_data.rb'
require_relative '../lib/stackables.rb'

RSpec.describe 'Redemptions API', :order => :defined do
  before(:each) do
    @redemptions_api_instance = Config.redemptions_api_instance()
    @voucherify_data = VoucherifyData.instance()
  end
  it 'redeem stacked discounts', :order => :second do
    result = redeem_stacked_discounts(@redemptions_api_instance, @voucherify_data.get_voucher().code)
    expect(result).not_to be_nil
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voucherify-5.0.0 __tests__/spec/9_redemptions_spec.rb