Sha256: fc3dd2078be9c8db0f62fe73ba5f00dc6decaf452ce0a47418e9ccc57c7b5152

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

require 'spec_helper'

describe FbGraph::Connections::Music, '#music' do
  before 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

1 entries across 1 versions & 1 rubygems

Version Path
fb_graph-1.7.1 spec/fb_graph/connections/music_spec.rb