Sha256: 1a6900ad33a56f02788f07734c397b563861cd3b94cec4a93b13e344b2581ddc

Contents?: true

Size: 295 Bytes

Versions: 14

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

describe Nanoc::Int::Layout do
  it_behaves_like 'a document'

  describe '#reference' do
    let(:layout) { described_class.new('hi', {}, '/foo.md') }

    it 'has the proper reference' do
      expect(layout.reference).to eql('layout:/foo.md')
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
nanoc-4.8.12 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.11 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.10 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.9 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.8 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.7 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.6 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.5 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.4 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.3 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.2 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.1 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.8.0 spec/nanoc/base/entities/layout_spec.rb
nanoc-4.7.14 spec/nanoc/base/entities/layout_spec.rb