spec/lib/onebox/matcher_spec.rb in onebox-1.6.9 vs spec/lib/onebox/matcher_spec.rb in onebox-1.7.0

- old
+ new

@@ -24,10 +24,10 @@ let(:url) { "http://party.time.made.up-url.com/" } let(:matcher) { Onebox::Matcher.new(url) } it "doesn't find an engine" do matcher.stubs(:ordered_engines).returns([TestEngine]) - expect(matcher.oneboxed).to be_nil + expect(matcher.oneboxed).not_to be_nil end end describe "without a path but has a query string" do let(:url) { "http://party.time.made.up-url.com/?article_id=1234" }