Sha256: 52dd55dfc4f7f3d01bd57cbb648636590a03b6f6ad9627afdef62f458bf9a477

Contents?: true

Size: 587 Bytes

Versions: 2

Compression:

Stored size: 587 Bytes

Contents

# coding: utf-8

require_relative 'spec_helper'

RSpec.describe 'IyziPay' do
  before :all do
    @options = IyziPay::Options.new
    @options.api_key = YAML.load_file('.secrets.yml')['test']['api_key']
    @options.secret_key = YAML.load_file('.secrets.yml')['test']['secret_key']
    @options.base_url = YAML.load_file('.secrets.yml')['test']['base_url']
  end

  it 'should test api' do
    apiTest = IyziPay::Model::ApiTest.new.retrieve(@options)
    begin
      $stderr.puts apiTest.inspect
    rescue
      $stderr.puts 'oops'
      raise
    end
  end

  after :each do
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iyzipay-zebramo-1.0.39 spec/api_test_spec.rb
iyzipay-zebramo-1.0.38 spec/api_test_spec.rb