Sha256: 08062f8b85abbdf874851ebc11f748171163330ba5f50b2a26f01d45ab96f094

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

# encoding: utf-8
require "spec_helper"

describe Sqoot::Commission do
  let(:client) { Sqoot::Client.new }

  it "should return mash list of commissions without passing any parameters", :vcr do
    client.commissions.equal? Hashie::Mash
  end

  it "should return an array of commissions", :vcr do
    client.commissions.categories.equal? Array
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

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