spec/jekyll/layout/layout_spec.rb in skellington-0.8.3 vs spec/jekyll/layout/layout_spec.rb in skellington-0.8.4
- old
+ new
@@ -5,11 +5,11 @@
end
context 'layout' do
it 'creates a header' do
subject.options = { 'framework' => 'jekyll' }
- subject.generate 'dummy_app'
+ subject.generate 'dummy-app'
expect('dummy_app/_includes/header.html').to have_content (
"""
<head>
<meta charset='utf-8' />
@@ -44,11 +44,11 @@
)
end
it 'creates a footer' do
subject.options = { 'framework' => 'jekyll' }
- subject.generate 'dummy_app'
+ subject.generate 'dummy-app'
expect('dummy_app/_includes/footer.html').to have_content (
"""
<div class='footer'>
<div class='row'>
@@ -64,11 +64,11 @@
)
end
it 'creates a layout' do
subject.options = { 'framework' => 'jekyll' }
- subject.generate 'dummy_app'
+ subject.generate 'dummy-app'
expect('dummy_app/_layouts/default.html').to have_content (
"""
<!DOCTYPE html>
<html lang='en'>
@@ -84,10 +84,10 @@
)
end
it 'has the ie shims' do
subject.options = { 'framework' => 'jekyll' }
- subject.generate 'dummy_app'
+ subject.generate 'dummy-app'
expect('dummy_app/_includes/ie-cruft.html').to have_content (
"""
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->