spec/jekyll/404_spec.rb in skellington-0.8.9 vs spec/jekyll/404_spec.rb in skellington-0.9.0.pre.rc1

- old
+ new

@@ -1,23 +1,25 @@ module Skellington describe CLI do - let :subject do - described_class.new - end + context 'jekyll' do + let :subject do + described_class.new + end - it 'has a 404 page' do - subject.options = { 'framework' => 'jekyll' } - subject.generate 'dummy-app' + 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 - --- + expect('dummy_app/404.md').to have_content ( + """ + --- + title: 404 + permalink: /404.html + --- - # Nothing to see here - """ - ) + # Nothing to see here + """ + ) + end end end end