Sha256: 02ce6ce5a1d0cab673c739da05437444dbebca10636cd91e3ca436986b799f01
Contents?: true
Size: 572 Bytes
Versions: 22
Compression:
Stored size: 572 Bytes
Contents
require 'spec_helper' describe FbGraph::Connections::Notifications do describe '#notifications' do it 'should return notifications as FbGraph::Notification' do mock_graph :get, 'me/notifications', 'users/notifications/all', :params => { :include_read => 'true' }, :access_token => 'access_token' do notifications = FbGraph::User.me('access_token').notifications(:include_read => true) notifications.each do |notification| notification.should be_instance_of FbGraph::Notification end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems