Sha256: 0382b4d87a36c02cf7c1cfedb14a3f1e0a25b50d76fb5835c73b5d3fd12f756d
Contents?: true
Size: 654 Bytes
Versions: 26
Compression:
Stored size: 654 Bytes
Contents
require 'spec_helper' describe FbGraph2::Edge::TestUsers do context 'included in App' do describe '#test_users' do let(:app) { FbGraph2::App.app('app_token') } it 'should return an Array of FbGraph2::User with test_user token' do users = mock_graph :get, 'app/accounts/test-users', 'app/test_users', access_token: 'app_token' do app.test_users end users.should be_instance_of FbGraph2::Edge users.should_not be_blank users.each do |user| user.should be_instance_of FbGraph2::User user.access_token.should == 'test_user_token' end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems