Sha256: 892df6031363260fcfe2f23f384241c5ade8452315515b01661bc690e5f6787a
Contents?: true
Size: 447 Bytes
Versions: 7
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true 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
7 entries across 7 versions & 1 rubygems