diff options
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/gather_o_embed_data_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
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' |