Sha256: 4695b977a6468e69570279594fc96690dc8596ea1203f5574f33bdc48d0d150d

Contents?: true

Size: 492 Bytes

Versions: 7

Compression:

Stored size: 492 Bytes

Contents

describe Redd::Client::Unauthenticated, :vcr do
  let(:client) { Redd::Client::Unauthenticated.new }

  it "has configurable options" do
    newclient = Redd::Client::Unauthenticated.new(
      rate_limit: "SPEC_RATELIMIT",
      user_agent: "SPEC_USERAGENT",
      api_endpoint: "SPEC_ENDPOINT.COM"
    )

    expect(newclient.rate_limit).to eq("SPEC_RATELIMIT")
    expect(newclient.user_agent).to eq("SPEC_USERAGENT")
    expect(newclient.api_endpoint).to eq("SPEC_ENDPOINT.COM")
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
redd-0.4.3 spec/redd/client/unauthenticated_spec.rb
redd-0.4.2 spec/redd/client/unauthenticated_spec.rb
redd-0.4.1 spec/redd/client/unauthenticated_spec.rb
redd-0.4.0 spec/redd/client/unauthenticated_spec.rb
redd-0.3.0 spec/redd/client/unauthenticated_spec.rb
redd-0.2.0 spec/redd/client/unauthenticated_spec.rb
redd-0.1.6 spec/redd/client/unauthenticated_spec.rb