Sha256: 93a4df0439b8bf124c3c0e4c8dada38e3c51ead3a86d3f3806bacb2f98b7f5fa

Contents?: true

Size: 346 Bytes

Versions: 37

Compression:

Stored size: 346 Bytes

Contents

require 'spec_helper'

describe FbGraph::FriendList, '.new' do

  it 'should setup all supported attributes' do
    attributes = {
      :id => '12345',
      :name => 'My List'
    }
    video = FbGraph::FriendList.new(attributes.delete(:id), attributes)
    video.identifier.should == '12345'
    video.name.should       == 'My List'
  end

end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
fb_graph-2.1.10 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.9 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.8 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.7 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.6 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.5 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.4 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.3 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.2 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.1 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.0 spec/fb_graph/friend_list_spec.rb
fb_graph-2.1.0.alpha spec/fb_graph/friend_list_spec.rb
fb_graph-2.0.2 spec/fb_graph/friend_list_spec.rb
fb_graph-2.0.1 spec/fb_graph/friend_list_spec.rb
fb_graph-2.0.0 spec/fb_graph/friend_list_spec.rb
fb_graph-2.0.0.beta spec/fb_graph/friend_list_spec.rb
fb_graph-2.0.0.alpha spec/fb_graph/friend_list_spec.rb
fb_graph-1.9.5 spec/fb_graph/friend_list_spec.rb
fb_graph-1.9.4 spec/fb_graph/friend_list_spec.rb
fb_graph-1.9.3 spec/fb_graph/friend_list_spec.rb