Sha256: 066f7b466f549df29d8db0c21861a13a97c051d9317644fb90e05f4a7d8784d8
Contents?: true
Size: 449 Bytes
Versions: 8
Compression:
Stored size: 449 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
8 entries across 8 versions & 1 rubygems