Sha256: 3625038ae168d61de2811c9c203b1292c4a741e59385b69553b8b067a0d1a8ae

Contents?: true

Size: 413 Bytes

Versions: 104

Compression:

Stored size: 413 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::Music, '#music' do
  it 'should return music pages as FbGraph::Page' do
    mock_graph :get, 'matake/music', 'users/music/matake_private', :access_token => 'access_token' do
      pages = FbGraph::User.new('matake', :access_token => 'access_token').music
      pages.each do |page|
        page.should be_instance_of(FbGraph::Page)
      end
    end
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
fb_graph-2.2.5 spec/fb_graph/connections/music_spec.rb
fb_graph-2.2.4 spec/fb_graph/connections/music_spec.rb
fb_graph-2.2.3 spec/fb_graph/connections/music_spec.rb
fb_graph-2.2.2 spec/fb_graph/connections/music_spec.rb
fb_graph-2.2.1 spec/fb_graph/connections/music_spec.rb
fb_graph-2.2.0 spec/fb_graph/connections/music_spec.rb
fb_graph-2.2.0.beta spec/fb_graph/connections/music_spec.rb
fb_graph-2.2.0.alpha2 spec/fb_graph/connections/music_spec.rb
fb_graph-2.2.0.alpha spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.13 spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.12 spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.11 spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.10 spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.9 spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.8 spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.7 spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.6 spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.5 spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.4 spec/fb_graph/connections/music_spec.rb
fb_graph-2.1.3 spec/fb_graph/connections/music_spec.rb