Sha256: cdc9505cc87ed3e78ce77678538361ccb71fbef618894246051a402dbcbdeac6

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

require 'spec_helper'

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

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

    [
      :directed_by,
      :genre,
      :plot_outline,
      :produced_by,
      :screenplay_by,
      :starring,
      :studio,
      :written_by
    ].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/movie_spec.rb