spec/api_test_spec.rb in iyzipay-zebramo-1.0.36 vs spec/api_test_spec.rb in iyzipay-zebramo-1.0.37
- old
+ new
@@ -1,25 +1,25 @@
# coding: utf-8
require_relative 'spec_helper'
-RSpec.describe 'Iyzipay' do
+RSpec.describe 'IyziPay' do
before :all do
- @options = Iyzipay::Options.new
+ @options = IyziPay::Options.new
@options.api_key = 'your api key'
@options.secret_key = 'your secret key'
@options.base_url = 'https://sandbox-api.iyzipay.com'
end
it 'should test api' do
- apiTest = Iyzipay::Model::ApiTest.new.retrieve(@options)
+ apiTest = IyziPay::Model::ApiTest.new.retrieve(@options)
begin
$stderr.puts apiTest.inspect
rescue
$stderr.puts 'oops'
raise
end
end
after :each do
end
-end
\ No newline at end of file
+end