Commit Graph

48 Commits

Author SHA1 Message Date
zachgersh eb06cf0d3d Adding back the removal of the TEST_DIR. Thanks to sharp eyes. 2013-06-18 07:57:59 -07:00
zachgersh 44cfa0540f Switch it to file.exists? and File.directory? so 1.8.7 doesn't complain. 2013-06-18 07:57:59 -07:00
zachgersh 3fdeb8c591 Fixed my tests, I need more specific tests for the new command. 2013-06-18 07:57:59 -07:00
zachgersh b19997aee4 Broken test committed. Can't find proper directories. 2013-06-18 07:57:59 -07:00
Matt Rogers a75b4a865d Merge pull request #1151 from jpiasetz/refactors-steps
Combined layout and theme features into one
2013-06-08 10:46:13 -07:00
John Piasetzki 240bcccd2f Remove extra parentheses and swapped regex back 2013-05-25 16:32:36 -04:00
John Piasetzki 54d7ac6e33 Combined two features into one 2013-05-25 11:45:30 -04:00
John Piasetzki 72fa7f8a73 Switch cucumber features to use iso dates 2013-05-25 11:35:28 -04:00
John Piasetzki e043c419f5 Trying to edit my history to remove the mistakes 2013-05-23 16:49:43 -04:00
John Piasetzki c4750cf48f Fixes so that the timezone gets written when it explicit is specificied in a test 2013-05-23 14:04:22 -04:00
John Piasetzki 6936bbded8 Changed the jekyll steps to write only the date and time for tests. This avoids timezone issues. 2013-05-23 14:04:22 -04:00
Parker Moore 2d0e65b5f7 In Cucumber step definitions, it'd be smart not to chdir into a dir we're about to kill 2013-05-05 17:25:42 +02:00
Parker Moore 457e90fd41 Just remove the darn TEST_DIR 2013-04-15 15:42:21 +02:00
Parker Moore 83cb01dd59 Using File.exists? more generally instead of File.directory? so /tmp/jekyll is always removed before running tests 2013-04-15 14:34:06 +02:00
Parker Moore 88e68e038a Extract out date parsing in feature steps 2013-04-15 14:32:14 +02:00
Parker Moore 9c57fad430 Finished feature for timezone shifting. 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
maul.esel c20fc03604 add cucumber tests for overriding path 2013-04-13 00:06:09 +02:00
Brian Kim c9b03991f8 Remove superfluous references to File#close 2013-04-08 17:08:17 -04:00
scribu 1ac46b17c4 Don't require date in draft filenames. 2013-02-09 21:35:41 +02:00
scribu c48de6b320 add drafts.feature 2013-01-20 05:23:56 +02: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
Dane Harrigan b2ab245835 gave the assertion a failure message 2011-06-05 14:57:53 -04:00
Jan Berkel fa90573176 Ruby 1.9 compat fix in features. Fixes #141. 2010-04-21 14:41:01 -07: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 d88354e2df cuke feature for subdir include 2010-01-13 22:02:24 -08:00
Kris Brown 6b74454a07 resetting to upstream 2010-01-10 10:11:44 +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
Nick Quaranto 102f6be6a2 Added tags to posts. Based off Henrik's implementation in 072d9e7. 2009-05-18 18:28:56 -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
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