Sha256: 755551745f756e8510a080a3cc765eb507555f1e7fea47d9f3fc843b3580f24f

Contents?: true

Size: 348 Bytes

Versions: 6

Compression:

Stored size: 348 Bytes

Contents

require 'spec_helper'

describe AngellistApi::Client::Press do
  let(:client) { AngellistApi::Client.new }

  describe '#get_press' do
    it 'gets 1/press' do
      options = { startup_id: 6702 }
      client.should_receive(:get).with("1/press", options).and_return("success")
      client.get_press(options).should == 'success'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
angellist_api-1.1.0 spec/unit/lib/angellist_api/client/press_spec.rb
angellist_api-1.0.7 spec/unit/lib/angellist_api/client/press_spec.rb
angellist_api-1.0.6 spec/unit/lib/angellist_api/client/press_spec.rb
angellist_api-1.0.5 spec/unit/lib/angellist_api/client/press_spec.rb
angellist_api-1.0.4 spec/unit/lib/angellist_api/client/press_spec.rb
angellist_api-1.0.3 spec/unit/lib/angellist_api/client/press_spec.rb