Commit Graph

390 Commits

Author SHA1 Message Date
Parker Moore 9c57fad430 Finished feature for timezone shifting. 2013-04-15 00:42:14 +02:00
Parker Moore df868b308a Set Jekyll path relative to the env file, not to CWD 2013-04-15 00:42:14 +02:00
Parker Moore 48795462c2 Cucumber: remove test dir if it's there 2013-04-15 00:42:14 +02:00
Parker Moore b51b796a1e Feature for timezone switching 2013-04-15 00:42:13 +02:00
maul.esel 64702f2faf minor test fix: the variable is named page.path 2013-04-14 09:52:30 +02:00
maul.esel c0dfe3165c test per-post permalinks
Add tests for setting a permalink on a post (in YAML frontmatter),
both the "old way" (generating an index.html) and with an .html ex-
tension.
2013-04-14 09:47:40 +02:00
maul.esel c20fc03604 add cucumber tests for overriding path 2013-04-13 00:06:09 +02:00
maul.esel 5a92a73010 add cucumber tests for page.path variable 2013-04-12 18:18:17 +02:00
Brian Kim c9b03991f8 Remove superfluous references to File#close 2013-04-08 17:08:17 -04:00
Parker Moore 73ca35ee81 Ensure all categories are downcase. Fix for #842. 2013-03-17 23:43:37 +01:00
Parker Moore b49bba9351 Renamed test under wrong name. 2013-03-16 13:15:15 +01:00
Tom Preston-Werner ef9388684b Turn off debug mode on feature to suppress output. 2013-03-03 18:04:31 -08:00
scribu 1ac46b17c4 Don't require date in draft filenames. 2013-02-09 21:35:41 +02:00
scribu daa9e11994 fix whitespace in drafts.feature 2013-01-31 05:35:19 +02:00
scribu c48de6b320 add drafts.feature 2013-01-20 05:23:56 +02:00
Parker Moore 6a7a030eee Fixed failing Cucumber test 2013-01-12 22:25:55 -08:00
Tom Bell e3bd250e69 Remove old jekyll command 2013-01-09 23:42:57 +00:00
Tom Bell e24bb02576 Update the Jekyll command for features testing
 🤘 🌟
2012-12-19 17:54:58 +00:00
Tom Bell df2ad2ac59 Allow a custom 'layouts' directory
* Add 'layouts' option to change the dir from '_layouts' to anything relative
  to the source directory
* Add cucumber scenario for testing an alternative directory '_theme'
* Closes #563
2012-05-30 21:39:43 -04:00
Tom Preston-Werner 4533e60489 Merge branch 'master' of https://github.com/daneharrigan/jekyll into daneharrigan-master
Conflicts:
	lib/jekyll.rb
2012-04-23 16:48:18 -07:00
Tom Preston-Werner 9d70088f01 Properly select dotfiles during directory scan.
Fixes #363.
Fixes #431.
Fixes #377.
2012-01-23 00:21:08 -08:00
Andrew Stone 5cffe5ecb5 Adding in the ability to link to posts internally. Syntax: {% post_url 2010-07-21-name-of-post %}; useful for: [Some Link]({% post_url 2010-07-21-name-of-post %}) 2011-07-21 19:49:09 -04:00
Dane Harrigan 2b8017dfdc can now set a custom pagination location with pagination_path 2011-06-05 14:57:53 -04:00
Dane Harrigan b2ab245835 gave the assertion a failure message 2011-06-05 14:57:53 -04:00
Tom Preston-Werner 2ad0fbc8ff Merge remote-tracking branch 'MattHall/redcarpet' 2011-05-29 21:38:34 -07:00
Tom Preston-Werner 155cbd1463 All tests/features run in 1.8 and 1.9. 2011-04-24 19:16:13 +08:00
Tom Preston-Werner 6a31e650f3 Tests and specs run under 1.9. 2011-04-24 18:39:27 +08:00
MattHall cf779b2760 Added Redcarpet for MD conversion 2011-04-20 10:04:42 +01:00
Aman Gupta 8cc7f06b36 work around cucumber issue (closes #296) 2011-03-07 18:50:02 -08:00
Jason Graham ac7a0cc95f Add Kramdown support and tests 2010-11-20 17:40:27 -08:00
cblunt f688c9df81 Added limit-posts option to site configuration.
* Added unit tests for limit-posts.
  * Added feature for limit-posts.
  * Added --limit_posts option to bin/jekyll options parser
2010-09-13 00:31:52 +01:00
Jan Berkel fa90573176 Ruby 1.9 compat fix in features. Fixes #141. 2010-04-21 14:41:01 -07:00
Kris Brown 5a807aa12e pages now present in the site payload and can be used through the site.pages variable 2010-02-27 08:09:13 +00:00
Kris Brown 98fa570c86 added support for consistent site.time in payload, generating the site at a specific time and limiting future posts
squish
2010-02-26 20:52:41 +00:00
Tom Preston-Werner a4f3f5c583 Merge commit '0a1e3cd2508c797d7b8d1038636a6e7111e5cd3d'. Fixes #33.
Conflicts:
	features/post_data.feature
2010-01-14 20:00:19 -08:00
Tom Preston-Werner 0756d1f765 add cuke feature for nested includes 2010-01-13 22:17:46 -08:00
Tom Preston-Werner d88354e2df cuke feature for subdir include 2010-01-13 22:02:24 -08:00
Tom Preston-Werner b68149c7bc fix pagination to adhere to read/render/write paradigm 2010-01-12 14:43:28 -08:00
Tom Preston-Werner a076ce0702 add markdown feature test 2010-01-11 23:42:16 -08:00
Kris Brown 45bf0e8a33 removed usages of site.ports.first in some features where a better alternative is available 2010-01-10 10:30:18 +00:00
Kris Brown 6b74454a07 resetting to upstream 2010-01-10 10:11:44 +00:00
Kris Brown 5c17d6266d removed usages of site.posts.first in some features where a better alternative is available 2010-01-06 13:01:19 +00:00
Kris Brown b8c04dfb6d Merge branch 'jamie/master' 2010-01-05 22:59:43 +00:00
Kris Brown b5916caf4b added scenario to test correct site generation for a site with layouts, pages, posts and files 2010-01-05 17:05:36 +00:00
Kris Brown 5ea06f3ad9 fixes issue #78, including comprehensive scenarios and tests 2010-01-04 09:39:54 +00:00
Jamie Macey fab5a715c5 safely allow loading jekyll customizations from inside a site 2009-11-29 13:25:00 -05:00
Jeffry Degrande 176c047ff1 bugfix for permalinks
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-07-14 19:17:44 -04:00
Nick Quaranto ec637a13e9 Adding a scenario for config values available in the site payload. Closes #15 2009-06-24 08:33:32 -04:00
Nick Quaranto 52fbd940c3 Merging in eugenebolshakov/permalinks_for_pages 2009-06-22 18:32:18 -04:00
Thomas Jack 535d78de7d change features and tests to make sure categories in urls follow the order specified by directory layout or in yaml 2009-06-08 19:26:03 -05:00
Urban Hafner 8379958d95 Order posts by slug name if the date is the same 2009-06-03 08:48:16 +03:00
Urban Hafner d8d7ae3f0e Feature that should test ordering of titles on the same day 2009-06-02 20:36:11 +03:00
Urban Hafner 5bbdf2239d Feature for the pagination templating 2009-06-02 11:11:04 +03:00
Urban Hafner 937efcf8b8 Feature for the last fix 2009-06-02 10:58:53 +03:00
Nick Quaranto 486ae25fc1 Validating the configuration loads properly and is a hash, based on jrk's implementation. Closes #22. 2009-05-31 21:33:27 -04:00
Nick Quaranto 86b1450234 Adding tags to the site payload. Derived mostly from Henrik's implementation in 072d9e7 2009-05-18 18:28:56 -04:00
Nick Quaranto 102f6be6a2 Added tags to posts. Based off Henrik's implementation in 072d9e7. 2009-05-18 18:28:56 -04:00
Nick Quaranto 921aee23d3 Removing topics for good 2009-05-18 18:28:56 -04:00
eugenebolshakov 49c39f43a1 the index page should always have index.html permalink no matter what 2009-05-10 15:29:05 +04:00
Nick Quaranto 605adf88d5 Shoulda-izing the pager test and correcting some formatting issues 2009-05-09 11:45:36 -04:00
Nick Quaranto e1dbda47ed Merging in calavera's pagination branch 2009-05-09 11:44:34 -04:00
Tom Ward 8a11c0e92a Ensure Regexp for today's time is escaped, as time formats can contain pluses and other Regexp unfriendly characters, causing the Scenario 'Use site.time variable' to fail.
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-05-09 10:47:53 -04:00
Nick Quaranto 53368cc3e1 Making sure excludes can work with a YAML array 2009-05-01 08:28:00 -04:00
Nick Quaranto 252ca94b81 Merging in duritong's exclude branch 2009-05-01 07:59:40 -04:00
Nick Quaranto 080108b0f0 Making sure permalinks were set right, and only generating the url once 2009-04-25 01:07:05 -04:00
Nick Quaranto 9da140fcb2 Getting there, prefixes work great 2009-04-25 00:58:28 -04:00
Nick Quaranto f3fd105b40 Starting feature for permalinks 2009-04-24 22:21:55 -04:00
duritong 1f6940feb2 Added cucumber feature for the exclude option
this should cover the basic idea behind the exclude
feature.
2009-04-24 10:06:26 +02:00
Juan Lupion 2e187864cf Next and previous posts
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-04-22 19:51:41 -04:00
David Calavera f099d00cb0 posts' pagination 2009-04-04 12:45:40 +02:00
David Calavera 808d6c6a62 posts' pagination 2009-04-04 12:43:46 +02:00
David Calavera 556131793f all features pass 2009-04-03 23:06:30 +02:00
Nick Quaranto d590f2ac06 Green all around, finally. 2009-04-01 20:38:59 -04:00
Nick Quaranto c52484a257 Going to figure out how to test background processes later 2009-04-01 20:19:33 -04:00
Nick Quaranto 4e302c0445 Started on site config feature 2009-04-01 18:43:06 -04:00
Nick Quaranto 3c0bc3b2de Added features to default rake task, and post data feature all green 2009-04-01 16:40:30 -04:00
Nick Quaranto 03f511be61 Following post step is getting confusing, but it works 2009-04-01 07:52:01 -04:00
Nick Quaranto 829530be36 Adding the categories back into the post payload 2009-04-01 07:36:56 -04:00
Nick Quaranto aff6c9c23a Filter feature passing, definitely room for refactoring 2009-03-31 23:09:57 -04:00
Nick Quaranto 0d78cb7063 All green for create sites feature 2009-03-31 20:13:30 -04:00
Nick Quaranto c22cd84153 Starting on implementing the step defs 2009-03-31 17:26:04 -04:00
Nick Quaranto 6c41f93493 12 step program to awesome integration tests 2009-03-31 07:37:38 -04:00
Nick Quaranto 778894dc6b Adding rake task for features, removing pipe for filters and starting on step definitions 2009-03-31 07:28:47 -04:00
Nick Quaranto 937dad66a7 Changing to FIT tables for posts, way better. 2009-03-27 08:39:11 -04:00
Nick Quaranto 3ebe81bf06 Need to cut down on repeating story steps a bit 2009-03-26 18:09:08 -04:00
Nick Quaranto ea2175b0ed Getting there with the stories...slowly but surely 2009-03-26 09:15:07 -04:00
Nick Quaranto 9d4e1697ef Filling out configuration story 2009-03-25 18:32:26 -04:00
Nick Quaranto e8a25964c5 Started on more of the stories 2009-03-25 08:37:56 -04:00
Nick Quaranto 8b5eb0395f Adding plenty of features with just basic scenarios 2009-03-25 08:26:29 -04:00
Nick Quaranto 15eaebe981 First crack at creating some user stories 2009-03-24 18:39:37 -04:00