spec/lib/onebox/matcher_spec.rb in onebox-1.1.0 vs spec/lib/onebox/matcher_spec.rb in onebox-1.2.0

- old
+ new

@@ -1,20 +1,5 @@ require "spec_helper" describe Onebox::Matcher do - describe "#oneboxed" do - it "returns Example onebox when given example url" do - matcher = described_class.new("http://example.com") - expect(matcher.oneboxed).to be(Onebox::Engine::ExampleOnebox) - end - it "returns Amazon onebox when given amazon url" do - matcher = described_class.new("http://amazon.com") - expect(matcher.oneboxed).to be(Onebox::Engine::AmazonOnebox) - end - - it "returns Flickr onebox when given flickr url" do - matcher = described_class.new("http://flickr.com") - expect(matcher.oneboxed).to be(Onebox::Engine::FlickrOnebox) - end - end end