Sha256: 2c629b063db571c0ee69a90528121c8729da6703cf2e5809a99ab6438cc6fb5f

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

require 'spec_helper'

describe AngellistApi::Client::Reviews do
  use_vcr_cassette 'reviews'

  let(:client) { AngellistApi::Client.new }

  it 'gets reviews of a user' do
    reviews = client.get_reviews(:user_id => 2850)
    reviews.should have_key :total_positive
    reviews.reviews.should be_an_instance_of Array
    reviews.reviews.first.should have_key :rating
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angellist_api-1.0.2 spec/integration/reviews_spec.rb