Sha256: 364fa962e399609f17bf3ed8c5c6c13daf419a6900fcec1f73da4851a07e21c7

Contents?: true

Size: 357 Bytes

Versions: 6

Compression:

Stored size: 357 Bytes

Contents

require 'spec_helper'

describe AngellistApi::Client::Press,
  :vcr => { :cassette_name => 'press' } do

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

  it 'gets press for a given startup' do
    options = { startup_id: 6702 }
    press = client.get_press(options).press
    press.first.should have_key :title
    press.first.should have_key :url
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
angellist_api-1.1.0 spec/integration/press_spec.rb
angellist_api-1.0.7 spec/integration/press_spec.rb
angellist_api-1.0.6 spec/integration/press_spec.rb
angellist_api-1.0.5 spec/integration/press_spec.rb
angellist_api-1.0.4 spec/integration/press_spec.rb
angellist_api-1.0.3 spec/integration/press_spec.rb