Commit Graph

438 Commits

Author SHA1 Message Date
Alfred Xing a902fefed5 Add blank frontmatter to feature test 2014-08-01 13:24:27 -07:00
Alfred Xing 6d62dbbafc Replace deprecated Ruby methods
Replace `Hash#has_key?` and `File.exists?` with `Hash#key?`
and `File.exist?`
2014-07-31 12:50:20 -07:00
ChaYoung You 2716f65010 Add tests for duplicated categories 2014-07-10 18:03:50 +09:00
ChaYoung You 8006024715 Add missed tests for categories 2014-07-10 18:03:41 +09:00
ChaYoung You 2616a4cf5e Replace duplicated `category` feature with `categories` 2014-07-10 17:44:51 +09:00
Ben Hollis cbb4b10ce6 Update Maruku dependency to allow use of the latest version.
All Maruku releases post-0.6 follow semver, so they should be backwards-compatible on minor versions. In this case, the only test that needed to change was one that was asserting buggy behavior that was fixed in 0.7.1.
2014-07-08 19:44:40 -07:00
Ben Balter 05f1fac2a7 Add feature for layouts vuln. 2014-07-01 18:29:01 -04:00
Anatol Broder 880a503094 Add a test 2014-06-24 20:27:01 +02:00
Parker Moore 35ed101651 Add test for the concatenation of categories 2014-06-18 18:19:28 -04:00
Parker Moore d59b2c3ef6 Merge pull request #2419 from jens-na/collection-defaults 2014-06-12 20:38:21 -04:00
Anatol Broder df334e809e Remove coverage reporting with Coveralls 2014-06-09 02:35:55 +02:00
Jens Nazarenus 467945bedb Fixes the extra indentation in cucumber test 2014-06-01 22:21:31 +02:00
Jens Nazarenus e868a8437f Includes tests for frontmatter defaults in documents 2014-06-01 22:21:31 +02:00
Parker Moore 62129d9a2f Output Jekyll output if ENV['DEBUG'] exists 2014-05-26 20:09:13 -04:00
Parker Moore 3c6377d665 Merge pull request #2395 from rdumont/data-subdirectories 2014-05-21 01:09:15 -04:00
Parker Moore 65275e5841 Merge pull request #2431 from jekyll/remove-collections-from-layouts 2014-05-21 01:07:01 -04:00
Parker Moore e37b3ca8e1 Any assets read in as Pages shall not be rendered or layout'd 2014-05-21 00:52:21 -04:00
Mathieu Bruyen 921dbe0547 Override collection url template 2014-05-17 10:40:52 +02:00
Rodrigo Dumont 12a8be0b98 Add scenario for ensuring data folder over file precedence 2014-05-12 13:47:41 -03:00
Rodrigo Dumont 604fb3286c Allow subdirectories in _data 2014-05-11 20:28:49 -03:00
Parker Moore 01c09fd7fa Merge pull request #2345 from penibelst/sort-collection 2014-05-10 15:42:53 -04:00
Ben Balter 5129a3ccc3 add tests for json data 2014-05-09 10:29:37 -04:00
Anatol Broder 5dcd84b71b Resolve conflict 2014-05-09 08:56:04 +02:00
Anatol Broder 6c48e9bbdf Simplify config 2014-05-09 08:53:21 +02:00
Anatol Broder 7f1b916f32 Fix output 2014-05-09 08:53:21 +02:00
Anatol Broder d8e68bc0e1 No output needed 2014-05-09 08:53:07 +02:00
Anatol Broder 9f6965c1b5 Add scenario for sorting by title 2014-05-09 08:51:57 +02:00
Aaron Broder f68098c7fc Add test for using where filter on collections 2014-05-08 12:04:54 -07:00
Matt Rogers 5c109ee8dc Merge pull request #2299 from penibelst/sort-nils 2014-05-06 16:49:40 -05:00
Anatol Broder 7c1709fab4 Change nils argument to string 2014-05-06 21:36:13 +02:00
Parker Moore ea054ef149 Add test for document.output.
Test for ref: 00f21ee93c
Closes #2232.
2014-05-06 15:27:13 -04:00
Parker Moore 3755437d08 Write test for site.documents. 2014-05-06 00:11:35 -04:00
Anatol Broder 12d9f8b02b Add scenario for ordering pages without title last 2014-05-05 10:49:29 +02:00
Anatol Broder 367a818c26 Fallback title based on time 2014-05-05 10:37:21 +02:00
Anatol Broder 3517b9f4e2 Add scenario 2014-05-05 10:35:19 +02:00
Robin Dupret 3a610882f6 Avoid duplicated output using highlight tags
While using Rouge and an `highlight` tag, the output was duplicated
since the `output` variable in the Liquid tag definition was equal to
the highlighter's prefix value and the `<<` method changes its receiver.

Therefore, we should simply define an empty string and append the prefix
if it is present.
2014-04-27 12:22:40 +02:00
Parker Moore 6225073095 Use the 'output' key instead of 'write' for writing out collections' document files. 2014-04-25 19:47:35 -04:00
Parker Moore 2ccf7f1cfb Run jekyll build in features (must give subcommand) 2014-04-25 13:04:56 -04:00
Parker Moore c906dfdf71 TEST THE COLLECTIONS 2014-04-24 14:01:23 -04:00
Martin Charles f9375d5660 Cleaned up cucumbers 2014-04-23 13:40:21 -04:00
Parker Moore 9db5a1a6ce Merge pull request #2205 from jekyll/maul-esel-frontmatter-defaults 2014-04-21 23:01:05 -04:00
Matt Rogers 22f7380abe Change the feature to not use `page.name`
Use `page.description` in the cucumber feature instead. `page.name`
isn't overridable anymore.
2014-04-15 20:15:16 -05:00
Parker Moore 5a6f1d42a9 Fix #filtered_entries so it returns a new Array if the directory doesn't exist 2014-04-14 23:03:19 -04:00
Parker Moore f0e68d7d86 Expose collections as site.<collection_name> in Liquid as array of docs. 2014-04-14 22:46:21 -04:00
Parker Moore 37a7236e20 Homagah it all renders I think. 2014-04-14 22:46:21 -04:00
Parker Moore 75f49a751e OMG COLLECTIONS ARE RENDERING CALL THE POLICE 2014-04-14 22:46:21 -04:00
Parker Moore 7fef0302a7 Strike duplicate methods & :collection_name filler 2014-04-14 22:45:20 -04:00
Parker Moore f082eca791 GUYS failing test for rendering 2014-04-14 22:45:20 -04:00
maul.esel 2804e08908 delete old superfluous tests; extend feature 2014-04-07 16:22:04 +02:00
maul.esel 1997281449 Add feature for the "--unsupported" flag
Also make step definitions a little more generic.
2014-04-07 16:22:04 +02:00
maul.esel eded314bb1 add a cucumber feature to test "published" for pages 2014-04-07 16:13:20 +02:00
Marcus Stollsteimer fec6b59950 Use File.exist? instead of deprecated File.exists? 2014-04-06 13:31:34 +02:00
Parker Moore 6bd07501e8 Merge branch 'frontmatter-defaults' of git://github.com/maul-esel/jekyll into maul-esel-frontmatter-defaults
* 'frontmatter-defaults' of git://github.com/maul-esel/jekyll:
  move self.type to convertible
  oops, fix minor indentation quirk
  document frontmatter defaults precedence
  adjust frontmatter defaults precedence handling
  change cucumber feature to test for precedence too
  fix frontmatter defaults for custom paths
  more robust cucumber features
  fix slash handling for paths
  move cucumber features to own file
  fix minor docs quirk
  improve path checking, now using Pathname instead of regex
  Add site documentation for the new feature
  add inline code docs
  improve validation code
  fix for Ruby 1.8
  Add basic cucumber features for frontmatter defaults
  Retrieve frontmatter defaults when retrieved internally
  make frontmatter defaults available to liquid
  add a class `FrontmatterDefaults` for handling of frontmatter defaults
  Add a method to retrieve type to post, page and draft

Conflicts:
	lib/jekyll.rb
	lib/jekyll/convertible.rb
	lib/jekyll/core_ext.rb
	lib/jekyll/page.rb
	lib/jekyll/post.rb
2014-04-04 15:32:27 -04:00
Daniel Schauenberg 81e4e1d8f4 add support for unpublished drafts
I keep all my ideas for blog posts as drafts in my draft folder. However I'm
only really working on a couple at once. This let's me mark drafts that I'm
not working on right now as unpublished so they don't clutter the site while
I'm checking on the other drafts.
2014-03-22 19:52:10 -04:00
Parker Moore 53c42d000f Move test dir to inside tmp in this repo. 2014-03-18 23:53:31 -04:00
Slava Pavlutin 6eef4b65ff Remove redundant whitespace in a Cucumber feature 2014-03-01 23:32:30 +04:00
Slava Pavlutin 2f79262f80 Fix tables alignments in Cucumber features 2014-03-01 23:10:05 +04:00
Anthony Smith 18279558da Update #relative_path for _drafts and add tests.
Resolves #2019. Add new tests for drafts. Also check path variable in
test for posts.
2014-02-11 12:48:34 +00:00
Parker Moore 22f2001ff5 Set default markdown converter to Kramdown
- Update default markdown converter in docs for configuration
- Update tests so they are in line with Kramdown output
- Add deprecation message to when config is built
2014-02-08 13:17:46 -05:00
Matt Rogers 012387396a Merge pull request #1859 from robin850/rouge 2013-12-30 22:45:07 -06:00
Matt Rogers a2fd8ba7c3 Merge pull request #1849 from afeld/sort-attributes 2013-12-30 20:31:45 -08:00
Parker Moore 1a3a607fcf Merge pull request #1831 from jekyll/default-maruku-fenced-code-blocks 2013-12-25 22:14:23 -08:00
Robin Dupret 5647a902de Remove a useless given step
Since the highlighter configuration option should default to pygments,
we don't have to explicitly set it in the step testing the output with
pygments.
2013-12-23 13:03:29 +01:00
Robin Dupret 0831d2b0f8 Add support for the Rouge syntax highlighter
By setting the `highlighter` setting to `rouge` you can now easily
highlight your code with it instead of relying on Pygments. However,
Jekyll doesn't depend on Rouge explicitly, you will need to install it
or add it to your Gemfile.

The documentation has been updated accordingly.
2013-12-22 18:45:40 +01:00
Robin Dupret 903cce2745 Fix the highlight tag feature
Previously, the assertion made wasn't enough to check whether the code
block was correctly parsed through Pygments (and it was not the case).
This commit simply ensure there is a div with the "highlight" class and
fix the test to correctly invoke the Liquid tag rendering.
2013-12-22 12:29:19 +01:00
Aidan Feldman 8c1706b66e clean up custom variable sort feature 2013-12-19 03:36:48 -05:00
Aidan Feldman 35712dcadc add failing test for sorting pages by custom variables 2013-12-19 03:35:57 -05:00
Aidan Feldman 396aa16f99 refactor step to support page creation 2013-12-19 02:27:23 -05:00
Aidan Feldman 5b2480c8ba refactor file+matter creation in cucumber steps 2013-12-19 01:58:46 -05:00
Jens Nazarenus 43ef9a2e4f variables in include tag with filters 2013-12-17 23:51:52 +01:00
Parker Moore d362faea3b Add two tests for Maruku fenced code blocks 2013-12-15 16:08:45 -05:00
Matt Rogers 39b6fe732f Merge pull request #1780 from mojombo/kill-1-8 2013-12-11 06:08:10 -08:00
Parker Moore b58cd5c132 Merge pull request #1657 from mojombo/safe-whitelist
A gem-based plugin whitelist for `safe` mode
2013-12-07 21:41:55 -08:00
Parker Moore 1297ed5c1d Remove weird 1.8.7 workarounds in features env 2013-12-06 01:42:37 -05:00
Parker Moore 5591ff2a6b Whoops, it's called 'jekyll_run_output' 2013-12-06 00:57:19 -05:00
Parker Moore bce2c2efb4 Print the output of Jekyll if the command fails 2013-12-06 00:52:33 -05:00
Parker Moore 6187861e91 Add test code for 'whitelist' option. 2013-12-06 00:21:34 -05:00
maul.esel f1869cda98 Merge branch 'master' into frontmatter-defaults 2013-12-05 19:29:57 +01:00
Matthew Iversen fb9de8cbf6 Fix tests to expect maruku 0.7 output 2013-12-05 12:20:11 +11:00
Matt Rogers 9e9abcb516 Merge pull request #1448 from penibelst/replace-yoursite
Replace yoursite.com by example.com
2013-11-22 20:59:27 -08:00
Greg Karékinian 49d5c3457c Remove extra trailing whitespace 2013-11-20 00:50:56 +01:00
maul.esel 8382a8b91b add test case for variable include tag in a loop 2013-11-14 20:47:42 +01:00
Anatol Broder 4abd93567f Example FTW 2013-11-11 18:52:37 +01:00
Matt Rogers bd825924b2 Merge pull request #1582 from mojombo/seconds_agnostic_time
Get some nice Regexp which is agnostic about the seconds.
2013-10-23 22:57:18 -05:00
Matt Rogers fb6f8c1ff1 Merge pull request #1493 from maul-esel/feature-improvements
Improve features / tests code
2013-10-23 20:49:11 -07:00
Matt Rogers 23ad7fa4bd Merge pull request #1557 from mojombo/require-gems-plugins
Add `gems` for better plugin management
2013-10-23 07:39:43 -07:00
maul.esel 32b4de3ea6 change cucumber feature to test for precedence too 2013-10-15 13:32:49 +02:00
maul.esel 20ea0c8d56 Merge branch 'master' into frontmatter-defaults 2013-10-14 19:44:06 +02:00
maul.esel 699eeba9f0 fix frontmatter defaults for custom paths
The Page#path or Post#path can be overriden by by a frontmatter
setting. This causes path-based frontmatter default detection to
fail. Add test to demonstrate this and fix it.
2013-10-14 19:16:53 +02:00
maul.esel 1c52657d7d more robust cucumber features 2013-10-14 19:13:20 +02:00
maul.esel 8091029329 move cucumber features to own file 2013-10-14 16:48:26 +02:00
Juan Ignacio Donoso e141dfa03f Add cucumber feature for layouts inside subfolders 2013-10-08 18:14:13 -03:00
Parker Moore 694599645f Add in test plugin for inclusion. 2013-10-04 15:49:47 -04:00
maul.esel 4c6ccc8009 extend feature to ensure it works with parameters as well 2013-10-01 22:31:13 +02:00
maul.esel 2138dfc0ac Fix code to allow dots in variables 2013-10-01 22:31:11 +02:00
maul.esel 50e945f251 Add a cucumber feature for variable includes 2013-10-01 22:22:50 +02:00
liufengyun 760cbc7f91 Autoload yaml files under _data directory
The jekyll engine will autoload all yaml files(ends with .yml or .yaml)
under _data. If there's a file members.yml under the directory, then user
can access contents of the file through site.members.
2013-10-01 11:23:33 +08:00
Parker Moore 425885460f DARN YOU RUBY 1.8.7 AND YOUR DIFFERENT TIME.TO_S METHOD 2013-09-28 14:16:57 -04:00
Parker Moore d958fd5679 Clean it up, clean it up. 2013-09-28 13:26:55 -04:00
Parker Moore 2dd7964926 C'mon, you're a Ruby developer. What are you doing. 2013-09-27 21:56:24 -04:00
Parker Moore aa6ee14fb7 Get some nice Regexp which is agnostic about the seconds. 2013-09-27 15:38:38 -04:00
Matt Rogers de49342324 Merge pull request #1556 from maul-esel/dest-match
Fix up matching against source and destination when the two locations are similar.
2013-09-16 18:34:22 -07:00
maul.esel 0f4d646510 extend feature tests and use scenario outline 2013-09-16 15:19:29 +02:00
maul.esel f606d9339b add features to test source and dest matching 2013-09-16 14:30:37 +02:00
maul.esel b26327f20a simplify conditions for coverage reports 2013-09-14 15:28:41 +02:00
maul.esel 5ee41cd3bb setup coveralls for cucumber 2013-09-12 21:19:36 +02:00
maul.esel f20b7d8bd2 use assert_match 2013-09-12 20:19:56 +02:00
maul.esel 2ba26f1bb6 Add basic cucumber features for frontmatter defaults 2013-09-11 00:57:49 +02:00
maul.esel 3a18157d20 rename the new function 2013-09-10 19:09:33 +02:00
maul.esel 89f0d69b07 Revert to #readlines#join, but enclose it in a function
This is necessary to preserve the handling
of \r\n and \n line endings.
2013-09-07 18:07:54 +02:00
maul.esel be54303fa9 Use File#read instead of #readlines.join construct 2013-09-02 14:00:58 +02:00
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
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