Sha256: 95911164cc259796e997b28b52cc086d9836efddf61ace100163f0464d6a52dc

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

# 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nanoc-4.7.13 spec/nanoc/base/entities/item_spec.rb
nanoc-4.7.12 spec/nanoc/base/entities/item_spec.rb
nanoc-4.7.11 spec/nanoc/base/entities/item_spec.rb