Sha256: ae4596879d7e10f3fe455f07691911bcf2ca7375a8a4f5dba79da974b3bf7fcf
Contents?: true
Size: 530 Bytes
Versions: 6
Compression:
Stored size: 530 Bytes
Contents
require 'spec_helper' describe AngellistApi::Client::Messages, :authenticated, # Personal for authenticated account, manually maintained fixture :vcr => { :cassette_name => 'messages', :record => :none } do let(:client) { AngellistApi::Client.new } it 'gets all messages for a user' do messages = client.get_messages messages.should have_key :messages # Blergh. thread = messages.messages.first [:last_message, :thread_id, :users].each do |field| thread.should have_key field end end end
Version data entries
6 entries across 6 versions & 1 rubygems