Commit Graph

127 Commits

Author SHA1 Message Date
Parker Moore 4fafdfccf3 Add cucumber test for `jekyll.version`. 2013-08-30 18:59:35 -04:00
Parker Moore 9e11a7f35f Fix date format in permalink.features. 2013-08-11 12:40:28 +02:00
Parker Moore d4300be758 Merge branch 'permalink-no-dir' of git://github.com/maul-esel/jekyll into maul-esel-permalink-no-dir
* 'permalink-no-dir' of git://github.com/maul-esel/jekyll:
  test per-post permalinks
  do not force the permalink to be a dir if it ends on .html

Conflicts:
	features/step_definitions/jekyll_steps.rb
2013-08-11 12:08:56 +02:00
Parker Moore a62d868c74 s/sitej/site/ props @benbalter 2013-07-22 14:57:44 +02:00
Parker Moore 5d6b755d7d feature maybe? 2013-07-22 13:42:40 +02:00
Parker Moore 08f6f3c2ed Merge pull request #1204 from maul-esel/include-params2
Support parameters for liquid include tags.
2013-07-09 14:14:40 -07:00
Matt Rogers 2484833bc8 Merge pull request #1118 from maul-esel/dir-bug-take2
[bugfix #417] delete old files that have been replaced by a directory
2013-07-01 07:52:29 -07:00
Matt Rogers fdebe492cc Merge pull request #1171 from zachgersh/new_empty
Added a --blank command which scaffolds empty files.
2013-06-24 22:25:25 -07:00
maul.esel 656dcca3d2 Add a cucumber test for passing variables 2013-06-22 15:47:59 +02:00
zachgersh 270ad54eb3 Removed extra steps and refactored my tests thanks to Maul. 2013-06-18 07:57:59 -07:00
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
zachgersh 7fba828f02 The start of something cucumber. 2013-06-18 07:57:59 -07:00
maul.esel 53dec6a4f6 add single-quote cucumber testing 2013-06-13 18:39:00 +02:00
maul.esel 1e15df0701 fix cucumber feature to obey new date format 2013-06-11 16:28:50 +02:00
maul.esel 73e589df56 add a cucumber feature for passing parameters to includes 2013-06-11 16:04:42 +02:00
Parker Moore a71b755e9e Remove superfluous "After" block from step defintions. 2013-06-09 18:31:09 +02:00
Parker Moore ce3fa7fd02 Add feature to test new functionality. 2013-06-09 18:31:08 +02: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
Parker Moore 4b6baf01cb Merge pull request #1139 from scribu/cucumber-fix
Fix for #622 (Cucumber infinite loop)
2013-05-23 14:28:31 -07: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
scribu 7579c1c42d cucumber: don't manually include assertions
It causes hard to debug infinite loops and it's done automatically
in recent versions of Cucumber anyway.
2013-05-23 20:35:27 +03:00
maul.esel 45576a39a6 test this fix with a cucumber feature 2013-05-18 22:30:03 +02:00
Sebastian Morr 151ffab6fe Removed space characters in empty lines 2013-05-16 20:27:27 +02: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 5836b441f6 Fixing up pagination feature test 2013-05-05 17:25:09 +02:00
Parker Moore 457e90fd41 Just remove the darn TEST_DIR 2013-04-15 15:42:21 +02:00
Parker Moore aa1f52fce8 Renamed timezone feature scenarios 2013-04-15 14:35:28 +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 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