Sha256: 50fff31e36f876d3ec794e21ee2448d053a964efb0d77025d01ab025cd4acc44

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

require 'spec_helper'

describe AngellistApi::Client::Reviews do
  before(:each) do
    @client = AngellistApi::Client.new
  end
  
  describe "#get_reviews" do
    it "should get 1/reviews" do
      options = { :some => "options" }
      @client.expects(:get).with("1/reviews", options, :format => :json, :phoenix => true).returns("success")
      @client.get_reviews(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/reviews_spec.rb
angellist_api-0.1.2 spec/lib/angellist_api/client/reviews_spec.rb
angellist_api-1.0.0 spec/lib/angellist_api/client/reviews_spec.rb