Parker Moore
7ad0597bff
Make our own Minitest::Test subclass for further subclassing
2015-02-21 00:33:47 -08:00
Parker Moore
52c4ce2a5a
Finish of moving the unit tests over to Minitest
2015-02-21 00:31:07 -08:00
Parker Moore
4b59eb4175
Fix the test inheritance for the tests.
2015-02-20 13:35:02 -08:00
Parker Moore
3fe80929ad
We have 47 posts now in the tests.
2015-01-17 15:28:03 -08:00
Malo Skrylevo
54d0bf47e8
Added per post excerpt_separator functionality, so you are able to
...
specify :excerpt_separator (as well as just :excerpt) key direct inside
the post YAML, to make an excerpt based on the value in the post. Tests
were also added.
2015-01-08 15:18:06 +03:00
Brandon Bradley
d250efccb9
add test for broken markdown regexp
2014-11-24 19:56:26 -06:00
Garen Torikian
aa97f1025d
Support a new `relative_include` tag
2014-09-03 15:43:51 -07:00
Terry Schmidt
0371b69952
Set categor[y|ies] on post if they appear in site frontmatter defaults
2014-05-09 13:34:13 -05:00
Parker Moore
4f66db6c38
Merge pull request #2211 from jekyll/pgp-key-header-frontmatter
2014-04-14 12:59:59 -04:00
Ben Balter
6c0f40385c
add test for PGP key yaml frontmatter
2014-04-06 16:03:19 -04:00
Marcus Stollsteimer
fec6b59950
Use File.exist? instead of deprecated File.exists?
2014-04-06 13:31:34 +02:00
Parker Moore
9fe22546be
Expect 41 posts, not just 40.
2014-04-02 15:10:28 -04:00
Lincoln Mullen
52ac2b3850
Permit YAML blocks to end with three dots
...
The YAML spec permits blocks to end with three dots (...) in addition to
three dashes (---): http://www.yaml.org/spec/1.2/spec.html#id2760395 . Some
programs that work with Jekyll (e.g., Pandoc) prefer the dots to dashes. This
commit permits the YAML metadata block to end with either dots or dashes. It
includes tests.
Signed-off-by: Parker Moore <parkrmoore@gmail.com>
2014-04-02 14:06:22 -04:00
Parker Moore
e3dd908d55
Add StaticFile#to_liquid['extname'] :)
2014-02-19 13:55:58 -05:00
Parker Moore
9659cfe876
Test site.static_files
2014-02-19 13:34:44 -05:00
Parker Moore
f638fb1784
Merge master into security-vuln-patches
2014-02-06 17:21:54 -05:00
liufengyun
22e1e5f28c
make sure pages with published being false are not generated
2014-01-19 09:52:19 +08:00
Ben Balter
f49ee21136
fix failing post count test
...
Signed-off-by: Parker Moore <parkrmoore@gmail.com>
2014-01-13 22:21:30 -08:00
Parker Moore
c7b649f792
Update test_generated_site.rb to know about new post
2014-01-01 19:53:42 -08:00
Jens Nazarenus
43ef9a2e4f
variables in include tag with filters
2013-12-17 23:51:52 +01:00
Thomas Torsney-Weir
c983f38cc9
add test to demonstrate issue with markdown extension parsing. adding mkd as an extension should not cause mkdn files to also be markdownified
2013-08-06 10:52:24 +02:00
Parker Moore
81a7b22672
Add a new post, bump @site.posts.size
2013-07-22 12:22:47 +02:00
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