Sha256: 50a3e1495ca8ad704c596fb99638ce84cded408acb5643a230b73f707ae0aea2

Contents?: true

Size: 599 Bytes

Versions: 1

Compression:

Stored size: 599 Bytes

Contents

require 'spec_helper'

describe AngellistApi::Client::StatusUpdates,
  :vcr => { :cassette_name => 'status_updates' } do

  let(:client) { AngellistApi::Client.new }
  let(:user_id) { 155 }      # Naval
  let(:startup_id) { 1124 }  # 500 Startups

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

  it 'gets status updates for a startup' do
    statuses = client.get_status_updates(:startup_id => startup_id)
    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.1.0 spec/integration/status_updates_spec.rb