Sha256: 3e363dacad165ecdfa4c7afc29636047cfc92fa6a9a181963dbbfbb50457ba75
Contents?: true
Size: 645 Bytes
Versions: 6
Compression:
Stored size: 645 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) describe Yammer::Api::Network 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 '#networks_current' do it 'should fetch network data' do subject.should_receive(:get).with('/api/v1/networks/current', { :include_suspended => true }) subject.current_networks({ :include_suspended => true }) end end end
Version data entries
6 entries across 6 versions & 1 rubygems