Sha256: 7ca45edea81dc35dd1cc10d70d6a959b5f837fb7c95c5faa143761e02d02b478

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

# from lita-imgflip-memes/spec/lita/handlers/imgflip_memes_spec.rb
let(:jpeg_url_match) { /http.*\.jpg/i }

describe ':pull_image' do
  it 'returns a jpeg url' do
    aliens_template_id = 101470
    result = subject.pull_image(aliens_template_id, 'hello', 'world')

    expect(result).to match(jpeg_url_match)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lita-imgflip-memes-1.1.2 examples/004_pull_image_test.rb