Sha256: 4cbb1e23c427dc361108b53a0ba95250ce6155ada785f6e650e6bd75a7a19fe9
Contents?: true
Size: 473 Bytes
Versions: 4
Compression:
Stored size: 473 Bytes
Contents
require "spec_helper" describe Mascot::RailsConfiguration do subject { Mascot::RailsConfiguration.new } context "#partials" do it "excludes by default" do expect(subject.partials).to be false end it "excludes partials if false" do subject.partials = false expect(subject.resources.size).to eql(2) end it "includes partials if true" do subject.partials = true expect(subject.resources.size).to eql(3) end end end
Version data entries
4 entries across 4 versions & 1 rubygems