spec/response_spec.rb in ruby-oembed-0.14.1 vs spec/response_spec.rb in ruby-oembed-0.15.0
- old
+ new
@@ -34,17 +34,17 @@
let(:skitch) {
OEmbed::Provider.new("https://skitch.com/oembed")
}
let(:qik) {
- qik = OEmbed::Provider.new("http://qik.com/api/oembed.{format}", :xml)
+ qik = OEmbed::Provider.new("http://qik.com/api/oembed.{format}", format: :xml)
qik << "http://qik.com/video/*"
qik << "http://qik.com/*"
qik
}
let(:viddler) {
- viddler = OEmbed::Provider.new("http://lab.viddler.com/services/oembed/", :json)
+ viddler = OEmbed::Provider.new("http://lab.viddler.com/services/oembed/", format: :json)
viddler << "http://*.viddler.com/*"
viddler
}
let(:new_res) {