Sha256: 82e4de6c4ed5c56ca2ceed5fb833ad81b29dd9cbdb60847fc7dacca3900ef033
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 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.root.flatten.size).to eql(2) end it "includes partials if true" do subject.partials = true expect(subject.root.flatten.size).to eql(3) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mascot-rails-0.1.15 | spec/mascot/rails_configuration_spec.rb |