Sha256: 227982c51d7c1bc0aeb255ccc934fff5aae2683c4a9b4ff4ea6e3de91a8f5897

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

Stored size: 445 Bytes

Contents

# encoding: utf-8
require "spec_helper"

describe Sqoot do

  let(:client) { Sqoot::Client.new }

  it "should configure with affiliate_token or authentication_token" do
    client.affiliate_token == 'affiliate_token'
  end

  it "should configure with authentication_token" do
    client.authentication_token == 'authentication_token'
  end

  it "should use HTTP API endpoint" do
    client.api_url.should == "http://api.sqoot.com"
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sqoot-1.0.0 spec/sqoot_spec.rb
sqoot-0.0.1 spec/sqoot_spec.rb