Sha256: 3feb4bf628cb7e28bbfaec8ddd5d4742c1505cb69fc2cb8f6668c9e4ec48e9ee
Contents?: true
Size: 585 Bytes
Versions: 26
Compression:
Stored size: 585 Bytes
Contents
require 'spec_helper' describe FbGraph2::Edge::Invited do context 'included in Event' do let(:event) { FbGraph2::Event.new('event_id').authenticate('token') } describe '#invited' do it 'should return an Array of FbGraph2::User' do users = mock_graph :get, 'event_id/invited', 'event/invited', access_token: 'token' do event.invited end users.should be_instance_of FbGraph2::Edge users.should_not be_blank users.each do |user| user.should be_instance_of FbGraph2::User end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems