spec/sinatra/root_files/readme_spec.rb in skellington-0.8.9 vs spec/sinatra/root_files/readme_spec.rb in skellington-0.9.0.pre.rc1

- old
+ new

@@ -1,16 +1,18 @@ module Skellington describe CLI do - let :subject do - described_class.new - end + context 'sinatra' do + let :subject do + described_class.new + end - it 'generates a README' do - subject.generate 'dummy-app' - expect('dummy_app/README.md').to have_content ( - """ - # DummyApp - """ - ) + it 'generates a README' do + subject.generate 'dummy-app' + expect('dummy_app/README.md').to have_content ( + """ + # DummyApp + """ + ) + end end end end