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.3.9 spec/fb_graph/friend_list_spec.rb
fb_graph-1.3.8 spec/fb_graph/friend_list_spec.rb
fb_graph-1.3.7 spec/fb_graph/friend_list_spec.rb
fb_graph-1.3.6 spec/fb_graph/friend_list_spec.rb
fb_graph-1.3.5 spec/fb_graph/friend_list_spec.rb
fb_graph-1.3.4 spec/fb_graph/friend_list_spec.rb
fb_graph-1.3.3 spec/fb_graph/friend_list_spec.rb
fb_graph-1.3.2 spec/fb_graph/friend_list_spec.rb
fb_graph-1.3.1 spec/fb_graph/friend_list_spec.rb
fb_graph-1.3.0 spec/fb_graph/friend_list_spec.rb
fb_graph-1.2.5 spec/fb_graph/friend_list_spec.rb
fb_graph-1.2.4 spec/fb_graph/friend_list_spec.rb
fb_graph-1.2.3 spec/fb_graph/friend_list_spec.rb
fb_graph-1.2.2 spec/fb_graph/friend_list_spec.rb
fb_graph-1.2.1 spec/fb_graph/friend_list_spec.rb
fb_graph-1.2.0 spec/fb_graph/friend_list_spec.rb
fb_graph-1.1.7 spec/fb_graph/friend_list_spec.rb
fb_graph-1.1.6 spec/fb_graph/friend_list_spec.rb
fb_graph-1.1.5 spec/fb_graph/friend_list_spec.rb