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