Sha256: 156ed47d719d315df1550f4dc2f80a744a2c70df63e3a8ddc3203ea6c7d8b44a
Contents?: true
Size: 416 Bytes
Versions: 8
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true 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
8 entries across 8 versions & 1 rubygems