Sha256: 0c5f6098646d4d325dd4903b7a1ba3952b9b30fdb4c1296d8e4523f915cffa97

Contents?: true

Size: 493 Bytes

Versions: 4

Compression:

Stored size: 493 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

4 entries across 4 versions & 1 rubygems

Version Path
redd-0.6.2 spec/redd/client/unauthenticated_spec.rb
redd-0.6.1 spec/redd/client/unauthenticated_spec.rb
redd-0.6.0 spec/redd/client/unauthenticated_spec.rb
redd-0.5.0 spec/redd/client/unauthenticated_spec.rb