Sha256: 6e34c8b656de387489bf6157c6a986ab00a8aad49e8fe04567e116d10aec7898
Contents?: true
Size: 536 Bytes
Versions: 3
Compression:
Stored size: 536 Bytes
Contents
# frozen_string_literal: true 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
3 entries across 3 versions & 1 rubygems