Sha256: 8089c91d4508c0645aa5addc233096a96948188251d28d79e86636eb4415ff44

Contents?: true

Size: 384 Bytes

Versions: 39

Compression:

Stored size: 384 Bytes

Contents

require File.join(File.dirname(__FILE__), '../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

39 entries across 39 versions & 1 rubygems

Version Path
fb_graph-1.7.0 spec/fb_graph/friend_list_spec.rb
fb_graph-1.7.0.alpha2 spec/fb_graph/friend_list_spec.rb
fb_graph-1.6.9 spec/fb_graph/friend_list_spec.rb
fb_graph-1.7.0.alpha spec/fb_graph/friend_list_spec.rb
fb_graph-1.6.8 spec/fb_graph/friend_list_spec.rb
fb_graph-1.6.7 spec/fb_graph/friend_list_spec.rb
fb_graph-1.6.5 spec/fb_graph/friend_list_spec.rb
fb_graph-1.6.4 spec/fb_graph/friend_list_spec.rb
fb_graph-1.6.3 spec/fb_graph/friend_list_spec.rb
fb_graph-1.6.2 spec/fb_graph/friend_list_spec.rb
fb_graph-1.6.1 spec/fb_graph/friend_list_spec.rb
fb_graph-1.6.0 spec/fb_graph/friend_list_spec.rb
fb_graph-1.5.5 spec/fb_graph/friend_list_spec.rb
fb_graph-1.5.4 spec/fb_graph/friend_list_spec.rb
fb_graph-1.5.3 spec/fb_graph/friend_list_spec.rb
fb_graph-1.5.2 spec/fb_graph/friend_list_spec.rb
fb_graph-1.5.1 spec/fb_graph/friend_list_spec.rb
fb_graph-1.5.0 spec/fb_graph/friend_list_spec.rb
fb_graph-1.4.1 spec/fb_graph/friend_list_spec.rb
fb_graph-1.4.0 spec/fb_graph/friend_list_spec.rb