Sha256: ff9f4f45cf7f10d491e4b496bd48cfe2414e890d66bdeb39d44446bf647e3b89
Contents?: true
Size: 473 Bytes
Versions: 3
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true require_relative 'support/mutable_document_view_examples' 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
3 entries across 3 versions & 1 rubygems