Sha256: 2edd994c2659df944695f986d64a6b7397ea13577cc806e8d459d3a58d37c978
Contents?: true
Size: 687 Bytes
Versions: 6
Compression:
Stored size: 687 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe DpdApi do let(:client_key) { ENV['DPD_CLIENT_KEY'] || '123' } let(:client_number) { ENV['DPD_CLIENT_NUMBER'] || '234' } let(:base_url) { 'http://wstest.dpd.ru' } let(:auth_params) do { auth: { client_number: client_number, client_key: client_key } } end let(:configuration) { described_class.configuration } it ".configuration" do expect(configuration.client_key).to eq client_key expect(configuration.client_number).to eq client_number expect(configuration.base_url).to eq base_url expect(configuration.auth_params).to eq auth_params end end
Version data entries
6 entries across 6 versions & 1 rubygems