Sha256: 738300a0ee6e18f8b3c48a318331c4a099258c7086a1f3abfae0997fbdeeda02
Contents?: true
Size: 532 Bytes
Versions: 22
Compression:
Stored size: 532 Bytes
Contents
describe Nanoc::ItemCollectionWithoutRepsView do let(:view_class) { Nanoc::ItemWithoutRepsView } 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::ItemCollectionWithoutRepsView>') } end end
Version data entries
22 entries across 22 versions & 1 rubygems