spec/provider_discovery_spec.rb in ruby-oembed-0.10.0 vs spec/provider_discovery_spec.rb in ruby-oembed-0.10.1
- old
+ new
@@ -1,15 +1,8 @@
require File.dirname(__FILE__) + '/spec_helper'
require 'json'
-require 'vcr'
-VCR.config do |c|
- c.default_cassette_options = { :record => :new_episodes }
- c.cassette_library_dir = 'spec/cassettes'
- c.stub_with :fakeweb
-end
-
describe OEmbed::ProviderDiscovery do
before(:all) do
OEmbed::Formatter::JSON.backend = 'JSONGem'
VCR.insert_cassette('OEmbed_ProviderDiscovery')
end
@@ -48,10 +41,10 @@
'noteflight' => [
'http://www.noteflight.com/scores/view/09665392c94475f65dfaf5f30aadb6ed0921939d',
{:json=>'http://www.noteflight.com/services/oembed', :xml=>'http://www.noteflight.com/services/oembed'},
:json,
],
- # TODO: Enhance ProviderDiscovery to support arbitrary query parameters. See https://github.com/judofyr/ruby-oembed/issues/15
+ # TODO: Enhance ProviderDiscovery to support arbitrary query parameters. See https://github.com/ruby-oembed/ruby-oembed/issues/15
#'wordpress' => [
# 'http://sweetandweak.wordpress.com/2011/09/23/nothing-starts-the-morning-like-a-good-dose-of-panic/',
# {:json=>'https://public-api.wordpress.com/oembed/1.0/', :xml=>'https://public-api.wordpress.com/oembed/1.0/'},
# :json,
#],