Sha256: a3f1fe8b58a973bcc92be40fc2b248b57120f16d92f6bb7154a9bb5f2db2bcaa

Contents?: true

Size: 453 Bytes

Versions: 34

Compression:

Stored size: 453 Bytes

Contents

require File.join(File.dirname(__FILE__), '../../spec_helper')

describe FbGraph::Connections::Music, '#music' do
  before(:all) do
    fake_json(:get, 'matake/music?access_token=access_token', 'users/music/matake_private')
  end

  it 'should return music pages as FbGraph::Page' 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

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
fb_graph-0.7.0 spec/fb_graph/connections/music_spec.rb
fb_graph-0.6.0 spec/fb_graph/connections/music_spec.rb
fb_graph-0.5.0 spec/fb_graph/connections/music_spec.rb
fb_graph-0.4.2 spec/fb_graph/connections/music_spec.rb
fb_graph-0.4.1 spec/fb_graph/connections/music_spec.rb
fb_graph-0.4.0 spec/fb_graph/connections/music_spec.rb
fb_graph-0.3.0 spec/fb_graph/connections/music_spec.rb
fb_graph-0.2.2 spec/fb_graph/connections/music_spec.rb
fb_graph-0.2.1 spec/fb_graph/connections/music_spec.rb
fb_graph-0.2.0 spec/fb_graph/connections/music_spec.rb
fb_graph-0.1.3 spec/fb_graph/connections/music_spec.rb
fb_graph-0.1.2 spec/fb_graph/connections/music_spec.rb
fb_graph-0.1.1 spec/fb_graph/connections/music_spec.rb
fb_graph-0.1.0 spec/fb_graph/connections/music_spec.rb