Sha256: 972599e3bb60fe8c6b85f61dd9d7fa1dc33c4358b3348a24d01b8d05a6288fb4
Contents?: true
Size: 505 Bytes
Versions: 22
Compression:
Stored size: 505 Bytes
Contents
describe Nanoc::LayoutCollectionView do let(:view_class) { Nanoc::LayoutView } it_behaves_like 'an identifiable collection' describe '#inspect' do let(:wrapped) do Nanoc::Int::IdentifiableCollection.new(config) end let(:view) { described_class.new(wrapped, view_context) } let(:view_context) { double(:view_context) } let(:config) { { string_pattern_type: 'glob' } } subject { view.inspect } it { is_expected.to eql('<Nanoc::LayoutCollectionView>') } end end
Version data entries
22 entries across 22 versions & 1 rubygems