Parker Moore
9b962dc565
Merge branch 'fabianrbz-remove_adapters_deprecation_warning'
...
* fabianrbz-remove_adapters_deprecation_warning:
Add minitest/profile to profile 10 slowest tests
Move simplecov_custom_profile to test/ & gate with TRAVIS env
Remove unused groups from simplecov's profile
Removes the following deprecation warning: 'method adapters is deprecated. use profiles instead'
2015-03-01 00:36:48 -08:00
Parker Moore
f1edf9e692
Add minitest/profile to profile 10 slowest tests
2015-03-01 00:36:40 -08:00
Parker Moore
fbe52bca85
Move simplecov_custom_profile to test/ & gate with TRAVIS env
2015-03-01 00:36:20 -08:00
Will Norris
dae77e9a63
switch remaining textile test files to markdown
...
Textile support was removed from jekyll core in #3319 , and most of the
tests switched to markdown at that time. This changes the remaining
tests to use markdown as well. The vast majority of the test cases were
testing things in the file name or front matter, so it doesn't really
matter what markup format they use. The one test that was claiming to
test that textile was transformed had actually been moved to markdown as
well, just not renamed.
Fixes #3507
2015-02-27 18:29:52 -08:00
Fabian Rodriguez
cd7b3f54f1
Removes the following deprecation warning:
...
'method adapters is deprecated. use profiles instead'
This warning was showing up because the project was using
the gem 'simplecov-gem-adapter' which uses the old syntax.
* Remove the gem dependency
* Add a profile with the same setup that the gem has
2015-02-27 23:01:48 -02:00
Alfred Xing
422fd7d304
Use `fixture_site` for Document tests
...
Should fix #3500
2015-02-24 20:31:16 -08:00
ChaYoung You
7db9397a9d
Remove trailing whitespace
2015-02-22 20:27:15 +09:00
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
d2b19963c1
Move from Test::Unit to Minitest.
2015-02-20 13:34:51 -08:00
Parker Moore
1f503b24b3
highlight: duplicate tests for pygments for rouge
...
Ensure that the output we get for pygments will match
that we get for rouge in all cases except line numbers.
2015-02-09 21:57:43 -08:00
Parker Moore
32c48bb78d
Highlight tag: add test for not removing interstitial newlines.
2015-02-01 23:03:10 -08:00
Parker Moore
65d43ef398
Move previous runtime dependencies to development dependencies.
2015-01-31 13:53:17 -08:00
Parker Moore
aceb5b5d53
Merge branch 'jekyll-gjtorikian-patch-1'
...
* jekyll-gjtorikian-patch-1:
Use the source_dir() helper
Add test for new extracted method
Factor out a `read_data_file` call to keep things clean
2015-01-31 00:12:33 -08:00
Parker Moore
32a2e8b4ef
Use the source_dir() helper
2015-01-31 00:12:24 -08:00
Garen Torikian
3bac8a2034
Add test for new extracted method
2015-01-30 15:21:45 -08:00
Parker Moore
0c624eb11b
The :title URL placeholder for collections should be the filename slug.
...
This mimicks posts most closely. It can be overridden by the
YAML front matter.
Undoes some of #2864 .
2015-01-30 01:53:11 -08:00
Alfred Xing
31b03e9b86
Merge pull request #3325 from imathis/generate-url
2015-01-24 11:21:51 -08:00
Alfred Xing
58e231ce40
Rename Regenerator#write to Regenerator#write_metadata
2015-01-19 16:29:50 -08:00
Alfred Xing
29aabd84bd
Fix up tests
2015-01-19 16:23:51 -08:00
Brandon Mathis
3d60299ea9
Test updates: Removed permalink config, updated template
2015-01-18 23:03:27 -06:00
Brandon Mathis
382049d558
Added a unit test for nil value in permalink template keys
2015-01-18 15:51:21 -06:00
Alfred Xing
fe5f0d124c
Move all regenerate? checking to Regenerator
2015-01-18 11:05:06 -08:00
Parker Moore
9d547f74cc
Make all the tests happy.
2015-01-17 16:52:12 -08:00
Parker Moore
c1da91cf5c
Start removing mentions of Textile.
2015-01-17 16:51:28 -08:00
Parker Moore
10659e1eef
Merge branch 'nitoyon-slugify-new-param'
...
* nitoyon-slugify-new-param:
Remove superfluous Sass declarations.
Move the slugify options out to their own section so as to fix the formatting.
Document the mode parameter of slugify Liquid filter
Add tests for mode parameters of slugify Liquid filter
Add mode parameter to slugify Liquid filter
Conflicts:
lib/jekyll/utils.rb
---> Hadn't added UTF-8 support in nitoyon's PR.
2015-01-17 16:06:10 -08:00
Parker Moore
3fe80929ad
We have 47 posts now in the tests.
2015-01-17 15:28:03 -08:00
Parker Moore
b2099ac763
Merge branch 'davidized-collection_yaml_dots'
...
* davidized-collection_yaml_dots:
Move YAML Front Matter regexp into a constant.
Add support for collections documents to have YAML front matter ending in dots.
Conflicts:
test/test_collections.rb
2015-01-17 15:24:33 -08:00
Parker Moore
a312115a5a
Merge pull request #3014 from jekyll/revert-3013-revert-2921-post-dest
2015-01-17 15:13:17 -08:00
Parker Moore
84cfc1ceff
Merge branch 'majioa-devel'
...
* majioa-devel:
Ensure Post#excerpt_separator always returns a string.
get procedure for default excerpt separator for both cases site and page was moved to the post's specific method :excerpt_separator.
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-17 15:01:20 -08:00
Parker Moore
ba2e1390ad
Merge pull request #2571 from yous/patch-mixed-case-category
2015-01-17 14:55:30 -08:00
Matt Rogers
ce78ea7818
Merge pull request #3220 from inukshuk/patch-1
2015-01-13 19:02:41 -06:00
Ryan Burnette
588bba39ad
Add test for Date object in filters.rb
2015-01-13 13:51:36 -05:00
Sylvester Keil
60921132c6
Preserve original mtime when copying static files
2015-01-12 13:00:35 +01:00
Parker Moore
7c8e4d46eb
Fix up new output for RDiscount 2.
2015-01-10 00:21:18 -08:00
Parker Moore
0bf82e9cf7
Merge pull request #3258 from omegahm/symlink-local-tmp
2015-01-10 00:12:06 -08:00
Parker Moore
b9542c5426
Merge pull request #3279 from jekyll/fix-cross-platform-testing
2015-01-10 00:08:29 -08:00
Parker Moore
730aedd0a3
Add Rake's test loader because it is inconsistently installed.
2015-01-09 23:57:52 -08:00
Parker Moore
4cbd814546
Add support for Windows line feeds too.
2015-01-09 23:55:47 -08:00
Parker Moore
cae9d96cc4
Add test for stripping just newlines from code blocks.
...
Ref #3275 .
2015-01-09 23:51:34 -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
Parker Moore
502fd94f2c
Merge pull request #3172 from alfredxing/docs-output-overrides
2015-01-05 23:19:12 -08:00
Alfred Xing
7655b533c9
Allow documents to set `published` in front matter
2015-01-05 16:11:02 -08:00
Mads Ohm Larsen
1062fdf89f
Use local tmp folder for symlink tests
2015-01-05 09:28:54 +01:00
Mads Ohm Larsen
a2b6aa263e
Add local tmp folder
2015-01-05 09:28:54 +01:00
Parker Moore
a098dc80cd
Merge pull request #3234 from jekyll/ruby-2-2
2014-12-29 20:49:04 -05:00
Parker Moore
7cd5847826
Merge pull request #3244 from jekyll/store-messages
2014-12-29 20:48:23 -05:00
Parker Moore
9109da32f9
Update test for the date() Liquid filter.
2014-12-29 20:44:10 -05:00
nitoyon
5e10958faa
Unescape Document output path
...
Document#destination wasn't unescaped properly.
For example, when we have a document named '_langs/c#.md',
we expect its url to be '/langs/c#.html',
but it was actually '/langs/c%23.html'.
We now unecape URL at Document#destination like Post#destination and
Page#destination.
2014-12-29 22:38:50 +09:00
Parker Moore
1fc99bdd97
Test LogAdapter#messages
2014-12-29 01:21:01 -05:00
Parker Moore
a6781bda30
Always, always rebuild (by default) in tests.
2014-12-29 00:37:16 -05:00
Parker Moore
612eb737a5
Merge pull request #3047 from karouf/slugify-non-latin
2014-12-29 00:31:34 -05:00
Parker Moore
004f923644
Revert "Revert "Make permalink parsing consistent with pages""
2014-12-29 00:30:42 -05:00
Parker Moore
e39dfa3f0b
Merge pull request #2908 from alfredxing/document-path
2014-12-29 00:26:35 -05:00
Parker Moore
232a58d5b4
Fix test use of Site#getConverterImpl.
2014-12-28 14:14:24 -05:00
Parker Moore
c24c6b7f3d
Use 'enable_coderay' in the tests.
2014-12-26 22:17:33 -05:00
Parker Moore
5bf1596414
Refactor Highlight tag tests to use a helper method to create the tag.
2014-12-26 21:53:56 -05:00
Parker Moore
7227ad4ebb
Merge pull request #3116 from alfredxing/incremental
2014-12-22 08:57:50 -05:00
Parker Moore
49115dbdab
Merge pull request #3158 from afeld/as-liquid-refactor
2014-12-09 10:50:42 -08:00
Parker Moore
032139bd2f
Ensure only one converter is found for .Rmd in the tests. Ref: #3147 .
2014-12-07 16:08:16 -08:00
Matt Rogers
f8af94431d
Fix coverage reporting for built-in bundles
2014-12-02 20:50:39 -06:00
Alfred Xing
a701e59c07
Add lots more unit tests
2014-11-27 10:40:31 -08:00
Aidan Feldman
229303bbc8
compare resulting data in jsonify test
2014-11-27 04:01:31 -06:00
Alfred Xing
02f281eef3
Add unit and cucumber tests
2014-11-26 21:15:53 -08:00
Aidan Feldman
0662d31bf6
fix jsonify filter when used with boolean values
2014-11-26 02:40:41 -06:00
Brandon Bradley
d250efccb9
add test for broken markdown regexp
2014-11-24 19:56:26 -06:00
Alfred Xing
dc30114605
Use site.in_source_dir
2014-11-23 16:16:19 -08:00
Parker Moore
ef53e677a4
Better tests for plugin manager.
2014-11-23 13:14:51 -08:00
Parker Moore
03d9396b85
Capture the output of Jekyll::Commands::New when looking for an error.
2014-11-23 12:53:36 -08:00
Alfred Xing
ac03af3229
Implement @mattr-'s suggestions
2014-11-21 22:12:21 -08:00
Alfred Xing
fe6bfc6f1b
Fix failing tests
2014-11-21 22:12:21 -08:00
David Williamson
d7e3d4df8f
Add support for collections documents to have YAML front matter ending in dots.
2014-11-20 14:38:17 -06:00
Parker Moore
5a350788e7
Test JEKYLL_NO_BUNDLER_REQUIRE.
2014-11-05 21:04:34 -08:00
Parker Moore
8ee1b2a1fd
Finish up the plugin manager
...
And so it shall be.
2014-11-05 19:29:54 -08:00
Parker Moore
18930b01f6
Fix up the assertions.
2014-11-05 11:39:15 -08:00
Parker Moore
b29fd6d380
Add tests.
...
Need to fix up the assertions to match the output.
2014-11-05 11:37:51 -08:00
Parker Moore
0c6137b2d3
Fix site tests.
2014-11-03 22:16:48 -08:00
Parker Moore
8d02c5cd94
Allow override of `destination` in site_configuration in tests
2014-11-03 22:16:48 -08:00
Parker Moore
2690c045ec
Fix the tests so they are *PERFECT*.
2014-11-03 22:16:48 -08:00
Parker Moore
817f6cb658
Fix problem where entries weren't stripped of their trailing slashes.
2014-11-03 22:16:47 -08:00
Parker Moore
3762878381
Correctly access the StaticFile's site variable.
2014-11-03 22:16:47 -08:00
Parker Moore
4078bde3ba
More passing tests.
2014-11-03 22:15:41 -08:00
Parker Moore
3b634134a0
Another test passing. 😄
2014-11-03 22:15:41 -08:00
Parker Moore
461e16f8bc
More tests are passing. Hooray.
2014-11-03 22:15:40 -08:00
Renaud Martinet
f9e249ae20
Generalize Utils#slugify for any scripts
...
It replaces any non alphanumeric glyphs by an hyphen.
2014-10-31 15:56:03 +01:00
Parker Moore
8dcf7a6680
Merge pull request #3031 from alfredxing/frontmatter-permalinks
2014-10-29 15:13:12 -07:00
Parker Moore
3fb1356593
The jsonify filter should deep-convert to Liquid when given an Array.
...
Fixes https://github.com/github/choosealicense.com/issues/225
2014-10-27 15:58:42 -07:00
Alfred Xing
0fe1d0686a
Allow placeholders in permalinks
2014-10-26 18:23:58 -07:00
Parker Moore
ae01b1d5df
😦
2014-10-22 02:16:50 -07:00
Parker Moore
5ed4638400
Merge pull request #2986 from tamagokun/where_filters_enumerable
2014-10-20 20:09:21 -07:00
Parker Moore
078b2785e4
Revert "Make permalink parsing consistent with pages"
2014-10-18 12:07:44 -07:00
Parker Moore
73ca205a5c
Add test for Document#basename_without_ext
2014-10-12 14:33:13 -07:00
nitoyon
3c5e9f5334
Add tests for mode parameters of slugify Liquid filter
2014-10-12 02:50:08 +09:00
Mike Kruk
56ac50c568
where filter - test return value when filtering a Hash
2014-10-08 17:02:36 -04:00
Mike Kruk
f6ea8b4d50
Allow Enumerables to be used with "where" filter.
2014-10-08 16:19:55 -04:00
Alfred Xing
3a96d01e4a
Make permalink parsing consistent with pages
...
Require permalink to end in a slash to write an index file.
Addresses #2920 .
2014-09-24 22:08:25 -07:00
Ruslan Korolev
121a06a9eb
unit test for jekyll new --force
2014-09-16 16:42:33 +04:00
Ruslan Korolev
d9e5fdde5b
test for jekyll new --blank
2014-09-12 18:30:06 +04:00
Alfred Xing
6c0e791236
Use relative path for `path` Liquid variable in Documents
2014-09-10 21:04:40 -07:00