Sha256: f170c13fa8a932133a2bac30471f541acca8f1c884c38fa49c14ce2eec0854b3

Contents?: true

Size: 508 Bytes

Versions: 108

Compression:

Stored size: 508 Bytes

Contents

require 'spec_helper'

describe FbGraph::Page do
  context 'for music category' do
    let :page do
      mock_graph :get, 'music', 'pages/categories/music' do
        FbGraph::Page.new('music').fetch
      end
    end
    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

108 entries across 108 versions & 1 rubygems

Version Path
fb_graph-2.7.17 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.16 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.15 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.14 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.13 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.12 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.11 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.10 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.9 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.8 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.7 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.6 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.5 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.4 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.3 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.2 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.1 spec/fb_graph/page/music_spec.rb
fb_graph-2.7.0 spec/fb_graph/page/music_spec.rb
fb_graph-2.6.7 spec/fb_graph/page/music_spec.rb
fb_graph-2.6.6 spec/fb_graph/page/music_spec.rb