Sha256: b661689d1b23a06b0e70122dc84f14fb84e2b8f8e1eddd57c207eaaa856d1941
Contents?: true
Size: 391 Bytes
Versions: 8
Compression:
Stored size: 391 Bytes
Contents
require "spec_helper" describe Mascot::Extensions::PartialsRemover do context ".partial?" do it "is true if begins with _" do expect(Mascot::Extensions::PartialsRemover.partial?("/foo.bar/_buzz.haml")).to be true end it "is false if does not being with _" do expect(Mascot::Extensions::PartialsRemover.partial?("/foo.bar/buzz.haml")).to be false end end end
Version data entries
8 entries across 8 versions & 1 rubygems