Sha256: 999b7ad9e637a3f3244179ab575eba2478fb38891c49bb7b5fea5728db71ec67

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

require 'spec_helper'

describe Collections do
  describe '.new' do
    it "returns a Collections::Client" do
      expect(Collections.new).to be_a Collections::Client
    end
  end

  describe ".configure" do
    it "sets auth_token" do
      Collections.configure do |config|
        config.auth_token = "secret"
      end

      expect(Collections.auth_token).to eq "secret"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nypl-collections-0.0.1 spec/nypl_collections_spec.rb