Sha256: 77fcfac4ee6ea3398b820ae07e9673d18b4f2988aad96555f07e468f64190e73

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

require 'spec_helper'

describe FbGraph::Page do
  context 'for music category' do
    before do
      fake_json(:get, 'music', 'pages/categories/music')
    end

    let(:page) { FbGraph::Page.new('music').fetch }
    subject { page }

    [
      :artists_we_like,
      :band_interests,
      :band_members,
      :booking_agent,
      :current_location,
      :influences,
      :press_contact,
      :record_label
    ].each do |key|
      its(key) { should be_instance_of String }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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