Sha256: c789b16631d6d0571c3e49ee32b0219c678234ecc82f1bf327f0bd2955f7a074

Contents?: true

Size: 444 Bytes

Versions: 3

Compression:

Stored size: 444 Bytes

Contents

require 'spec_helper'

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