Sha256: 64209dc63fbd2cd59df0510af46af744d78f32c776830c81d290cbd21297c5d3

Contents?: true

Size: 455 Bytes

Versions: 5

Compression:

Stored size: 455 Bytes

Contents

require 'spec_helper'

describe OpenStax::Exchange::FakeClient do
  before(:each) do
    OpenStax::Exchange.use_fake_client
    OpenStax::Exchange::FakeClient.configure do |config|
      config.registered_platforms   = {DEFAULT_CLIENT_PLATFORM_ID => DEFAULT_CLIENT_PLATFORM_SECRET}
      config.server_url             = client_server_url
      config.supported_api_versions = [API_VERSION_V1]
    end
  end

  it_behaves_like "exchange client api v1"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openstax_exchange-0.2.1 spec/lib/openstax/exchange/fake_client_v1_spec.rb
openstax_exchange-0.2.0 spec/lib/openstax/exchange/fake_client_v1_spec.rb
openstax_exchange-0.1.0 spec/lib/openstax/exchange/fake_client_v1_spec.rb
openstax_exchange-0.0.2 spec/lib/openstax/exchange/fake_client_v1_spec.rb
openstax_exchange-0.0.1 spec/lib/openstax/exchange/fake_client_v1_spec.rb