Sha256: 6818572fbf4cdffc39d053bd589a84229d6c6356edafc177c5963b2fbb2e3b64
Contents?: true
Size: 414 Bytes
Versions: 7
Compression:
Stored size: 414 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
7 entries across 7 versions & 1 rubygems