Sha256: fd63715687558ef5b818ac229fff2873106df3edeba40e937fe2c0ff430169f1

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

require 'spec_helper'

describe PictureFrom::TwitterPicture do

  describe 'online tests' do

    describe '#picture_from_username' do
      subject { described_class.new }

      it 'returns the image url' do
        link = subject.picture_from_username('unclebobmartin')
        expect(link).to eq('https://pbs.twimg.com/profile_images/1102364992/clean_code_72_color_400x400.png')
      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/twitter_picture_spec.rb