spec/lib/onebox_spec.rb in onebox-1.5.5 vs spec/lib/onebox_spec.rb in onebox-1.5.6

- old
+ new

@@ -27,10 +27,10 @@ expect(cache.fetch(url)).to be(nil) end end describe "templates" do - let(:ignored) { ["templates/_layout.mustache", "templates/githubgist.mustache"] } + let(:ignored) { ["templates/_layout.mustache"] } let(:templates) { Dir["templates/*.mustache"] - ignored } def expect_templates_to_not_match(text) templates.each do |template| expect(File.read(template)).not_to match(text)