spec/sinatra/layout/layout_spec.rb in skellington-0.8.3 vs spec/sinatra/layout/layout_spec.rb in skellington-0.8.4

- old
+ new

@@ -4,11 +4,11 @@ described_class.new end context 'layout' do it 'creates a header' do - subject.generate 'dummy_app' + subject.generate 'dummy-app' expect('dummy_app/views/includes/header.erb').to have_content ( """ <head> <meta charset='utf-8' /> @@ -30,11 +30,11 @@ """ ) end it 'creates a footer' do - subject.generate 'dummy_app' + subject.generate 'dummy-app' expect('dummy_app/views/includes/footer.erb').to have_content ( """ <div class='footer'> <div class='row'> @@ -49,11 +49,11 @@ """ ) end it 'creates a github corner' do - subject.generate 'dummy_app' + subject.generate 'dummy-app' expect('dummy_app/views/includes/github-corner.erb').to have_content ( """ <?xml version='1.0' standalone='no'?> <?xml-stylesheet type='text/css' href='styles.css'?> @@ -67,10 +67,10 @@ """ ) end it 'creates a layout' do - subject.generate 'dummy_app' + subject.generate 'dummy-app' expect('dummy_app/views/layout.erb').to have_content ( """ <!DOCTYPE html> <html lang='en'>