Sha256: b3190cd136d8514f84b174b37276d0e1a5b058050574f06b8a3e2c572e591157

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

require 'spec_helper'

describe AngellistApi::Client::StatusUpdates do
  use_vcr_cassette 'status_updates'

  let(:client) { AngellistApi::Client.new }

  it 'gets status updates for a user' do
    statuses = client.get_status_updates(:user_id => 2850)
    statuses.status_updates.first.should have_key :message
  end

  it 'gets status updates for a startup' do
    statuses = client.get_status_updates(:startup_id => 1124)
    statuses.status_updates.first.should have_key :message
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angellist_api-1.0.2 spec/integration/status_updates_spec.rb