spec/nanoc/base/entities/item_spec.rb in nanoc-4.7.10 vs spec/nanoc/base/entities/item_spec.rb in nanoc-4.7.11

- old
+ new

@@ -1,5 +1,13 @@ # frozen_string_literal: true describe Nanoc::Int::Item do it_behaves_like 'a document' + + describe '#reference' do + let(:item) { described_class.new('hi', {}, '/foo.md') } + + it 'has the proper reference' do + expect(item.reference).to eql([:item, '/foo.md']) + end + end end