Sha256: e0f64963dbcf8f37bd4779a4f146ce3aa54b23c0541b0ddf5c57ec4160a2e6f3
Contents?: true
Size: 569 Bytes
Versions: 6
Compression:
Stored size: 569 Bytes
Contents
require 'spec_helper' describe AngellistApi::Client::ActivityFeeds do let(:client) { AngellistApi::Client.new } describe "#get_feed" do it "gets 1/feed" do options = { :some => "options" } client.should_receive(:get).with("1/feed", options).and_return("success") client.get_feed(options).should == "success" end end describe '#feed_item' do it 'gets 1/feed/<id>' do id = '8fCC3' client.should_receive(:get).with("1/feed/#{id}").and_return('success') client.feed_item(id).should eq 'success' end end end
Version data entries
6 entries across 6 versions & 1 rubygems