Sha256: 3c92dcc5d870b5b219c262480d8ca355b2eb48b14af11f1d064ec74aef5e94f6

Contents?: true

Size: 328 Bytes

Versions: 3

Compression:

Stored size: 328 Bytes

Contents

require 'spec_helper'

describe 'The API client' do
  context 'Authentication' do
    before do
      LayerVault.reset!
      @client = LayerVault.client
    end

    it 'accepts an access token for authentication' do
      @client.access_token = '32efabc231238'
      expect(@client).to be_token_authenticated
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
layervault-0.1.2 spec/layervault/client_spec.rb
layervault-0.1.1 spec/layervault/client_spec.rb
layervault-0.1.0 spec/layervault/client_spec.rb