Commit 98728127 authored by Jonne Haß's avatar Jonne Haß

bump ruby-oembed

parent 77f4be44
......@@ -124,7 +124,7 @@ gem 'nokogiri', '1.6.6.2'
gem 'redcarpet', '3.2.2'
gem 'twitter-text', '1.10.0'
gem 'roxml', '3.1.6'
gem 'ruby-oembed', '0.8.11'
gem 'ruby-oembed', '0.8.12'
gem 'open_graph_reader', '0.4.0'
......
......@@ -576,7 +576,7 @@ GEM
rspec-mocks (~> 3.1.0)
rspec-support (~> 3.1.0)
rspec-support (3.1.2)
ruby-oembed (0.8.11)
ruby-oembed (0.8.12)
ruby-progressbar (1.7.0)
rubyzip (1.1.6)
safe_yaml (1.0.4)
......@@ -771,7 +771,7 @@ DEPENDENCIES
roxml (= 3.1.6)
rspec-instafail (= 0.2.6)
rspec-rails (= 3.1.0)
ruby-oembed (= 0.8.11)
ruby-oembed (= 0.8.12)
sass-rails (= 4.0.4)
selenium-webdriver (= 2.44.0)
sidekiq (= 3.3.0)
......
......@@ -68,18 +68,7 @@ describe StreamsController, :type => :controller do
it "generates a jasmine fixture with a post containing a video", :fixture => true do
stub_request(
:get,
"http://gdata.youtube.com/feeds/api/videos/UYrkQL1bX4A?v=2"
).with(
:headers => {'Accept'=>'*/*'}
).to_return(
:status => 200,
:body => "<title>LazyTown song - Cooking By The Book</title>",
:headers => {}
)
stub_request(
:get,
"http://www.youtube.com/oembed?scheme=https&format=json&frame=1&iframe=1&maxheight=420&maxwidth=420&url=http://www.youtube.com/watch?v=UYrkQL1bX4A"
"http://www.youtube.com/oembed?format=json&frame=1&iframe=1&maxheight=420&maxwidth=420&scheme=https?scheme=https&url=http://www.youtube.com/watch?v=UYrkQL1bX4A"
).with(
:headers => {'Accept'=>'*/*'}
).to_return(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment