Sha256: b272f6209d34242c5554e1a8bc6ed14b7f11b7abee1b4b559d0e0c11d70b08bc

Contents?: true

Size: 412 Bytes

Versions: 3

Compression:

Stored size: 412 Bytes

Contents

require 'spec_helper'

describe AngellistApi::Client::ActivityFeeds do
  before(:each) do
    @client = AngellistApi::Client.new
  end
  
  describe "#get_feed" do
    it "should get 1/feed" do
      options = { :some => "options" }
      @client.expects(:get).with("1/feed", options, :format => :json, :phoenix => true).returns("success")
      @client.get_feed(options).should == "success"
    end
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
angellist_api-1.0.1 spec/lib/angellist_api/client/activity_feeds_spec.rb
angellist_api-0.1.2 spec/lib/angellist_api/client/activity_feeds_spec.rb
angellist_api-1.0.0 spec/lib/angellist_api/client/activity_feeds_spec.rb