Sha256: e7a3f11e10dfbe7abbabced434a8235f5de820b594e6d27c96c8fca278cf7a02
Contents?: true
Size: 564 Bytes
Versions: 6
Compression:
Stored size: 564 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) describe Yammer::Api::Thread do before :all do @client = Yammer::Client.new( :site_url => 'https://www.yammer.com', :client_id => 'PRbTcg9qjgKsp4jjpm1pw', :client_secret => 'Xn7kp7Ly0TCY4GtZWkmSsqGEPg10DmMADyjWkf2U', :access_token => 'TolNOFka9Uls2DxahNi78A' ) end subject { @client } describe '#get_thread' do it 'should fetch a thread' do subject.should_receive(:get).with('/api/v1/threads/1', {}) subject.get_thread(1) end end end
Version data entries
6 entries across 6 versions & 1 rubygems