Sha256: 1ca71b24eca3e138ba2f4add3e2cc29ed1091f748cdbabe3c1f0737c977457ce
Contents?: true
Size: 523 Bytes
Versions: 4
Compression:
Stored size: 523 Bytes
Contents
require 'spec_helper' describe FbGraph::Connections::Permissions, '#permissions' do let :permissions do mock_graph :get, 'me/permissions', 'users/permissions/me_private', :params => { :access_token => 'access_token' } do FbGraph::User.me('access_token').permissions end end it 'should be an Array of Symbol' do permissions.should be_instance_of Array permissions.should_not be_blank permissions.each do |permission| permission.should be_instance_of Symbol end end end
Version data entries
4 entries across 4 versions & 1 rubygems