Sha256: 8207234c3df06e0b9745a7aa9db294eac9d8aa03f8bde15f7ae1ea69a10a42f9

Contents?: true

Size: 411 Bytes

Versions: 31

Compression:

Stored size: 411 Bytes

Contents

require 'spec_helper'

describe FbGraph2::Edge::Picture do
  context 'included in User' do
    describe '#picture' do
      let(:me) { FbGraph2::User.me('token') }
      it do
        mock_graph :get, 'me/picture', 'user/picture', access_token: 'token', params: {
          redirect: false
        } do
          me.picture
        end.should be_instance_of FbGraph2::Struct::Picture
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
fb_graph2-0.1.3 spec/fb_graph2/edge/picture_spec.rb
fb_graph2-0.1.2 spec/fb_graph2/edge/picture_spec.rb
fb_graph2-0.1.1 spec/fb_graph2/edge/picture_spec.rb
fb_graph2-0.1.0 spec/fb_graph2/edge/picture_spec.rb
fb_graph2-0.0.11 spec/fb_graph2/edge/picture_spec.rb
fb_graph2-0.0.10 spec/fb_graph2/edge/picture_spec.rb
fb_graph2-0.0.9 spec/fb_graph2/edge/picture_spec.rb
fb_graph2-0.0.8 spec/fb_graph2/edge/picture_spec.rb
fb_graph2-0.0.7 spec/fb_graph2/edge/picture_spec.rb
fb_graph2-0.0.6 spec/fb_graph2/edge/picture_spec.rb
fb_graph2-0.0.5 spec/fb_graph2/edge/picture_spec.rb