Sha256: cc7f3b874e0d9ccf330a7dc18e13dd072d8658ea86ef86742208ede42e651e4a

Contents?: true

Size: 273 Bytes

Versions: 3

Compression:

Stored size: 273 Bytes

Contents

require 'spec_helper'

describe 'Users', :vcr do

  before do
    LayerVault.reset!
    @client = LayerVault::Client.new
  end

  context '.me' do
    it 'returns the User info as JSON' do
      @client.me
      assert_requested :get, layervault_url("me")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
layervault-0.1.2 spec/layervault/client/user_spec.rb
layervault-0.1.1 spec/layervault/client/user_spec.rb
layervault-0.1.0 spec/layervault/client/user_spec.rb