spec/lib/onebox_spec.rb in onebox-1.5.17 vs spec/lib/onebox_spec.rb in onebox-1.5.18
- old
+ new
@@ -46,13 +46,13 @@
describe 'has_matcher?' do
before do
Onebox::Engine::WhitelistedGenericOnebox.whitelist = %w(youtube.com)
end
it "has no matcher for a made up url" do
- expect(Onebox.has_matcher?("http://wow.com/omg/doge")).to be_false
+ expect(Onebox.has_matcher?("http://wow.com/omg/doge")).to be false
end
it "has a matcher for a real site" do
- expect(Onebox.has_matcher?("http://www.youtube.com/watch?v=azaIE6QSMUs")).to be_true
+ expect(Onebox.has_matcher?("http://www.youtube.com/watch?v=azaIE6QSMUs")).to be true
end
end
end