spec/nanoc/base/views/layout_view_spec.rb in nanoc-4.8.9 vs spec/nanoc/base/views/layout_view_spec.rb in nanoc-4.8.10

- old
+ new

@@ -1,9 +1,11 @@ # frozen_string_literal: true +require_relative 'support/document_view_examples' + describe Nanoc::LayoutView do let(:entity_class) { Nanoc::Int::Layout } - let(:other_view_class) { Nanoc::ItemWithRepsView } + let(:other_view_class) { Nanoc::CompilationItemView } it_behaves_like 'a document view' describe '#inspect' do let(:item) { Nanoc::Int::Layout.new('content', {}, '/asdf') } let(:view) { described_class.new(item, nil) }