Sha256: 13ec2cac1cab917364fc8d948c53cdde8b3da784efa4bbf9aa99c07323070569
Contents?: true
Size: 627 Bytes
Versions: 1
Compression:
Stored size: 627 Bytes
Contents
require 'spec_helper' describe PictureFrom::FacebookPicture do describe '#picture_from_username' do subject { described_class.new } it 'returns the image url' do link = subject.picture_from_username('karreiro') expect(link).to eq('http://graph.facebook.com/karreiro/picture') end end describe 'online tests' do describe '#picture_from_user_info' do subject { described_class.new } it 'returns the image url' do link = subject.picture_from_user_info('Mark Zuckerberg') expect(link).to eq('http://graph.facebook.com/zuck/picture') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
picture_from-1.0.0 | spec/lib/picture_from/facebook_picture_spec.rb |