Commit Graph

101 Commits

Author SHA1 Message Date
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
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 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