Sha256: 264e0ad97bd08e1fdfe454cae8119d17511b98ec0011deabdebf9443944cd975

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

require 'helper'

describe Footrest::Client do

  it "sets the domain" do
    client = Footrest::Client.new(domain:"http://domain.com")
    expect(client.options[:domain]).to eq("http://domain.com")

  end

  it "sets the authtoken" do
    client = Footrest::Client.new(token:"test_token")
    expect(client.options[:token]).to eq("test_token")
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
footrest-0.1 spec/footrest/client_spec.rb