-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Github information, minor fixes to generator
Since the updated layout for Jekyll includes a Github field, we need to add this to the generator as well. Also did some minor grammatical tweaks and changes to the questions asked to the user.
- Loading branch information
Showing
4 changed files
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,13 +16,13 @@ describe('jekyllized:app', function () { | |
authorEmail: '[email protected]', | ||
authorBio: 'A norwegian dude', | ||
authorTwitter: '0lanordmann', | ||
authorGithub: '0lanordmann', | ||
uploading: 'None', | ||
jekyllPermalinks: 'pretty', | ||
jekyllPaginate: '10' | ||
}; | ||
this.deps = [ | ||
[helpers.createDummyGenerator(), 'jekyllized:boilerplate'], | ||
[helpers.createDummyGenerator(), 'jekyllized:bower'], | ||
[helpers.createDummyGenerator(), 'jekyllized:gulp'], | ||
[helpers.createDummyGenerator(), 'jekyllized:jekyll'] | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,8 @@ describe('jekyllized:jekyll', function () { | |
authorEmail: '[email protected]', | ||
authorURI: 'homepage.com', | ||
authorBio: 'I am a tester for tests', | ||
authorTwitter: '0lanordmann' | ||
authorTwitter: '0lanordmann', | ||
authorGithub: '0lanordmann' | ||
}; | ||
helpers.run(path.join(__dirname, '../generators/jekyll')) | ||
.inDir(path.join(__dirname, 'tmp/jekyll')) | ||
|
@@ -47,14 +48,15 @@ describe('jekyllized:jekyll', function () { | |
|
||
it('_config.yml contains the correct settings', function () { | ||
[ | ||
'name: jekyllized', | ||
'title: jekyllized', | ||
'description: Tests for Jekyllized', | ||
'url: example.org', | ||
'name: Ola Nordmann', | ||
'email: [email protected]', | ||
'uri: homepage.com', | ||
'bio: I am a tester for tests', | ||
'twitter: 0lanordmann' | ||
'twitter: 0lanordmann', | ||
'github: 0lanordmann' | ||
].forEach(function (config) { | ||
assert.fileContent('_config.yml', config); | ||
}); | ||
|