Sha256: f0fa8eae6cb1edad1129fe35f7a8a7bbb7bf727cec4e40ba738f1f049bd97598

Contents?: true

Size: 558 Bytes

Versions: 1

Compression:

Stored size: 558 Bytes

Contents

require 'spec_helper'

describe FbGraph2::Edge::TaggableFriends do
  context 'included in User' do
    describe '#taggable_friends' do
      let(:me) { FbGraph2::User.me('token') }
      it 'should return an Array of FbGraph2::Struct::Friend' do
        users = mock_graph :get, 'me/taggable_friends', 'user/taggable_friends', access_token: 'token' do
          me.taggable_friends
        end
        users.should_not be_blank
        users.each do |user|
          user.should be_instance_of FbGraph2::Struct::Friend
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fb_graph2-0.1.0 spec/fb_graph2/edge/taggable_friends_spec.rb