From bb141280525815dc8d214dc7ac6af572211187d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Mon, 4 May 2015 13:05:22 +0200 Subject: bump ruby-oembed --- spec/workers/gather_o_embed_data_spec.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'spec/workers') diff --git a/spec/workers/gather_o_embed_data_spec.rb b/spec/workers/gather_o_embed_data_spec.rb index 97177d7de..ad01e4a30 100644 --- a/spec/workers/gather_o_embed_data_spec.rb +++ b/spec/workers/gather_o_embed_data_spec.rb @@ -16,9 +16,10 @@ describe Workers::GatherOEmbedData do "url" => "https://farm4.static.flickr.com/3123/2341623661_7c99f48bbf_m.jpg" } - @flickr_oembed_url = 'http://www.flickr.com/services/oembed/' - @flickr_photo_url = 'http://www.flickr.com/photos/bees/2341623661' - @flickr_oembed_get_request = @flickr_oembed_url+"?format=json&frame=1&iframe=1&maxheight=420&maxwidth=420&url="+@flickr_photo_url + @flickr_oembed_url = "https://www.flickr.com/services/oembed/" + @flickr_photo_url = "http://www.flickr.com/photos/bees/2341623661" + @flickr_oembed_get_request = "#{@flickr_oembed_url}" \ + "?format=json&frame=1&iframe=1&maxheight=420&maxwidth=420&url=#{@flickr_photo_url}" @no_oembed_url = 'http://www.we-do-not-support-oembed.com/index.html' -- cgit v1.2.3