Sha256: 7148118b75efa262641b2065e9ec454fdff70ca0e9d013b582b75edb92e836ab

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

# encoding: utf-8
require "spec_helper"

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

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

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

end

Version data entries

2 entries across 2 versions & 1 rubygems

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