Sha256: 9ef40eefed0a08ec71c1a0bb0c8b0445c7b73a9bbabba277ec9ef2db1a7f7804

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

require 'spec_helper'

describe 'The API client' do
  context 'Authentication' do
    before do
      DesignerNews.reset!
      @client = DesignerNews.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

2 entries across 2 versions & 1 rubygems

Version Path
dn-0.1.0 spec/designer_news/client_spec.rb
dn-0.0.1 spec/designer_news/client_spec.rb