Sha256: cc5e412b10fc0fdf72d3b76ae65674fdfce7bfeafb20808fdee39ba0f7c322f3
Contents?: true
Size: 557 Bytes
Versions: 23
Compression:
Stored size: 557 Bytes
Contents
=begin rdoc = IMGUR_SPEC.RB *Author*:: Tamara Temple <tamara@tamaratemple.com> *Since*:: 2013-05-27 *Copyright*:: (c) 2013 Tamara Temple Web Development *License*:: MIT =end require 'spec_helper' module Scrapers describe "Scrapers" do it {Scrapers.should respond_to(:imgur)} end describe "Fetch the download link" do let(:url) {"http://imgur.com/v70StgA"} it "should return the download link from a given url" do Scrapers.imgur(url).should =~ %r{http://imgur.com/download/v70StgA/} end end end
Version data entries
23 entries across 23 versions & 1 rubygems