Sha256: 4c908b5c34a14880bc7cb70f532e7c5837ab0e105e3d10a9718a57a4784c707f

Contents?: true

Size: 397 Bytes

Versions: 6

Compression:

Stored size: 397 Bytes

Contents

module Skellington
  describe CLI do
    let :subject do
      described_class.new
    end

    it 'has a 404 page' do
      subject.options = { 'framework' => 'jekyll' }
      subject.generate 'dummy-app'

      expect('dummy_app/404.md').to have_content (
      """
      ---
      title: 404
      permalink: /404.html
      ---

      # Nothing to see here
      """
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
skellington-0.8.9 spec/jekyll/404_spec.rb
skellington-0.8.8 spec/jekyll/404_spec.rb
skellington-0.8.7 spec/jekyll/404_spec.rb
skellington-0.8.6 spec/jekyll/404_spec.rb
skellington-0.8.5 spec/jekyll/404_spec.rb
skellington-0.8.4 spec/jekyll/404_spec.rb