spec/lib/onebox/engine_spec.rb in onebox-1.3.8 vs spec/lib/onebox/engine_spec.rb in onebox-1.3.9
- old
+ new
@@ -64,24 +64,9 @@
result = OneboxEngineTripleEqual === URI("http://www.example.com/product/5?var=foo&bar=5")
expect(result).to eq(true)
end
end
- describe ".matches" do
- class OneboxEngineMatches
- include Onebox::Engine
-
- matches do
- find "foo.com"
- end
- end
-
- it "sets @@matcher to a regular expression" do
- regex = OneboxEngineMatches.class_variable_get(:@@matcher)
- expect(regex).to be_a(Regexp)
- end
- end
-
end
describe ".onebox_name" do
module ScopeForTemplateName
class TemplateNameOnebox