Sha256: 95cb9f6f6c9e21248e4a5716038fedd65ac74f87197795c39d765966965860a8

Contents?: true

Size: 406 Bytes

Versions: 52

Compression:

Stored size: 406 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::Reviews do
  describe '#reviews' do
    it 'should return reviews as FbGraph::Review' do
      mock_graph :get, 'my_app/reviews', 'applications/reviews/public' do
        reviews = FbGraph::Application.new('my_app').reviews
        reviews.each do |review|
          review.should be_instance_of(FbGraph::Review)
        end
      end
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
fb_graph-2.4.13 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.12 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.11 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.10 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.9 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.8 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.7 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.6 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.4 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.3 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.2 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.1 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.4.0 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.3.2 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.3.1 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.3.0 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.2.6 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.2.5 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.2.4 spec/fb_graph/connections/reviews_spec.rb
fb_graph-2.2.3 spec/fb_graph/connections/reviews_spec.rb