Sha256: 6ec255a56ac0626b26c2d072da8ce2ee41f3970fa03ef006885d815bac1af004
Contents?: true
Size: 385 Bytes
Versions: 22
Compression:
Stored size: 385 Bytes
Contents
describe Nanoc::MutableLayoutView do let(:entity_class) { Nanoc::Int::Layout } it_behaves_like 'a mutable document view' describe '#inspect' do let(:item) { Nanoc::Int::Item.new('content', {}, '/asdf/') } let(:view) { described_class.new(item, nil) } subject { view.inspect } it { is_expected.to eql('<Nanoc::MutableLayoutView identifier=/asdf/>') } end end
Version data entries
22 entries across 22 versions & 1 rubygems