Created
November 25, 2014 23:03
-
-
Save joetastic/f472c2918a3d7e5316c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSpec.configure do |config| | |
config.before :each do | |
embedly_api_response = [double('embedly', original_url: 'http://quirky.com', | |
images: [], media: double('media', html: nil), | |
description: nil, app_links: [], title: nil, | |
provider_name: nil)] | |
allow_any_instance_of(Embedly::API).to receive(:extract) | |
.and_return(embedly_api_response) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment