Commit Graph

38 Commits

Author SHA1 Message Date
maul.esel
17cdd59206 adjust tests to new test post 2013-05-10 14:07:43 +02:00
Parker Moore
290ba131e2 Merge pull request #998 from dhcole/master
Use post's directory path when matching for the post_url tag
2013-05-05 05:16:39 -07:00
Dave Cole
805f378586 Add test for nested post_url 2013-04-29 17:48:10 -04:00
uu59
0f52f15cc2 Clean up code #1104 2013-04-29 21:07:46 +09:00
uu59
94756340cd Remove to_i. Let commander gem do it #1004 2013-04-29 15:56:02 +09:00
uu59
20a837d15c Change default value of limit_posts from nil to 0 (see #1004)
Before this commit meaning of limit_posts:
  nil: no limit. generate all posts
  0: raise error
  n ( > 0): generate n posts only
  n ( < 0): raise error
  else: raise error

After this commit:
  nil: same as 0
  0: no limit. generate all posts
  n ( > 0): generate n posts only
  n ( < 0): raise error
  else: almost same as 0 (depend on `to_i` result)
2013-04-29 01:41:22 +09:00
uu59
ad2c706a34 Fix jekyll serve --limit_posts n failed 2013-04-28 02:03:08 +09:00
Parker Moore
04fd68a232 Move Jekyll::DEFAULTS to Jekyll::Configuration::DEFAULTS 2013-04-12 21:19:20 +02:00
maul.esel
0113fea7a1 Add tests for using custom excerpt 2013-04-11 14:26:20 +02:00
Aleksey V Zapparov
22dcc4e20f Adds excerpt to posts 2013-03-04 17:13:25 +01:00
Parker Moore
5a3e05dbff Ensuring that layout is only set to the default value if layout is not specified 2013-01-12 15:31:14 -08:00
Tom Preston-Werner
da9930657e Merge remote-tracking branch 'derekprior/configurable_coverter_file_extensions' 2011-05-30 11:38:59 -07:00
Tom Preston-Werner
6a31e650f3 Tests and specs run under 1.9. 2011-04-24 18:39:27 +08:00
Derek Prior
5801220a98 Added the ability to configure the file extensions to be processed by each converter. Test cases included. 2011-04-12 17:03:28 -04: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
Kris Brown
e4a2319bf3 added tests to show how date and tags can end up having the wrong value when rendered 2010-02-26 21:24:32 +00:00
Kris Brown
a0aa3fa6dc Merge branch 'enh_post_date_in_front_matter_issue_62' 2010-01-10 21:58:34 +00:00
Kris Brown
a1550b3378 allow date to be specified in the front matter and override the value from the file name, fixes #62 and #38 2010-01-10 21:55:54 +00:00
Kris Brown
2292e4268c added tests for handling of tags and catergories, see #73 and #84 2010-01-10 16:12:41 +00:00
Tom Preston-Werner
4c1021d597 don't prematurely terminate front matter on mid-line triple dashes. fixes #93 2010-01-08 18:04:36 -08:00
Kris Brown
5ea06f3ad9 fixes issue #78, including comprehensive scenarios and tests 2010-01-04 09:39:54 +00:00
Nick Quaranto
150ff1e5e4 Fixed small bug in test_generated_site and updating history with latest fixes 2009-06-23 08:10:42 -04:00
eugenebolshakov
ee0167d706 Made pages respect permalinks style and permalinks in yml front matter 2009-05-10 14:53:00 +04:00
Nick Quaranto
45b46722bf Making the generated site test happy when doing a glob on Ubuntu 2009-04-22 22:35:53 -04:00
Nick Quaranto
ae4e7725bf Bringing back the test_site tests 2009-03-18 08:37:03 -04:00
Nick Quaranto
479d8c7572 Allowing the dest_dir and source_dir helpers to take arguments so tests aren't littered with File.joins 2009-03-17 23:23:47 -04:00
Nick Quaranto
c60be9c571 Stubbing out the configuration makes for much less warnings. 2009-03-17 23:17:51 -04:00
Josh Nichols and Nick Quaranto
d602600394 Fixed test_generated_site. 2009-03-17 20:44:25 -04:00
Josh Nichols and Nick Quaranto
18b512a531 Merge branch 'qrush/shoulda' into can_has_good_tests
Conflicts:
	test/test_generated_site.rb
	test/test_post.rb
	test/test_site.rb
	test/test_tags.rb
2009-03-17 20:31:10 -04:00
mreid
cb13ea3000 Rebased with mojombo. All tests pass. Some conflicts with Liquid and Maruku 2009-03-12 21:25:34 +11:00
Mark
6edfae8c26 Refactored configuration and command-line option code 2009-03-12 20:51:11 +11:00
Nick Quaranto
0e132bf2cb Upgrading the rest of the tests to shoulda 2009-03-05 21:54:52 -05:00
Brandon Dimcheff
992c4a8e6f prevented _posts from being copied to the destination directory 2009-03-04 01:24:52 -05:00
Nick Quaranto
efdd5ef395 Making sure that posts flagged as published: false don't get rendered or copied. 2009-02-10 01:13:36 -05:00
Nick Quaranto
1211f23b53 Adding support for setting post categories through YAML if not specified by directory structure 2009-02-10 01:12:20 -05:00
Nick Quaranto
2303115235 Making rake test happy on 1.8.7 2009-02-10 01:11:13 -05:00
Chad Ingram
d9b183f998 Fix site payload available to files 2009-01-23 04:48:43 -08:00
remi
b45fd65a36 added tests to confirm that {{ site.posts }} in index.html was empty and {{ post.content }} wasn't rendering (both are now fixed) 2008-12-23 05:32:25 -07:00