Commit Graph

1102 Commits

Author SHA1 Message Date
Pat Hawks
6bc9f71050 Rename test for clarity 2017-03-16 07:59:13 -05:00
Pat Hawks
ec5b45cd7c Allow colons in uri_escape filter
Fixes #5954
2017-03-16 07:54:13 -05:00
jekyllbot
9a740bc447 Merge pull request #5934 from ashmaroli/appease-classifier
Merge pull request 5934
2017-03-06 20:58:51 -05:00
Ashwin Maroli
635e3365cc appease classifier-reborn 2017-03-04 23:29:04 +05:30
Parker Moore
3e4dbc83e3 Attempt to alleviate strange Windows encoding error.
Error:
TestGeneratedSite#test_: generated sites should render latest post's content. :
Encoding::CompatibilityError: incompatible character encodings: IBM437 and UTF-8
    C:/projects/jekyll/test/test_generated_site.rb:22:in `include?'
    C:/projects/jekyll/test/test_generated_site.rb:22:in `block (2 levels) in <class:TestGeneratedSite>'
    C:/projects/jekyll/test/test_generated_site.rb:34:in `instance_exec'
    C:/projects/jekyll/test/test_generated_site.rb:34:in `block in create_test_from_should_hash'
2017-03-01 22:36:25 -05:00
Parker Moore
ca87c99a3c Fix fmt issues in test for 'include a post with a abbreviated dates' 2017-03-01 22:08:21 -05:00
Parker Moore
8a0c0727ea Failing test: abbreviated post dates are no longer read.
This is a regression introduced by https://github.com/jekyll/jekyll/pull/5609.
2017-03-01 21:38:55 -05:00
Parker Moore
23808c2ae6 Fix missing trailing comma to alleviate fmt errors
Offenses:

test/test_static_file.rb:151:9: C: [Corrected] Style/TrailingCommaInLiteral: Put a comma after the last item of a multiline hash.
        "collection"    => nil
        ^^^^^^^^^^^^^^^^^^^^^^
2017-02-10 21:16:25 -05:00
jekyllbot
afe6e3622c Merge pull request #5860 from ashmaroli/exclude-patch
Merge pull request 5860
2017-02-10 21:10:09 -05:00
Ben Balter
229769e249 add StaticFileDrop 2017-02-08 17:44:47 -05:00
Ashwin Maroli
2813b9c039 test exclusion of Gemfile 2017-02-05 01:49:38 +05:30
Ashwin Maroli
384be58b5e add missing comma 2017-01-31 08:40:06 +05:30
jekyllbot
2cf685feb2 Merge pull request #4362 from jekyll/liquid-4
Merge pull request 4362
2017-01-27 11:10:53 -05:00
Frank Taillandier
5ed22d0b3e Now we must execute SimpleCov 2017-01-19 22:39:39 +01:00
Parker Moore
b6bc85ec7c Correct 2 Style/TrailingCommaInLiteral rubocop offenses in test_filters.rb 2017-01-18 14:16:08 -05:00
jekyllbot
477b2f0f3e Merge pull request #5640 from jekyll/jekyll-utils-exec
Merge pull request 5640
2017-01-18 14:15:11 -05:00
jekyllbot
76e9b8d266 Merge pull request #5542 from ashmaroli/url-slash
Merge pull request 5542
2017-01-17 20:21:48 -05:00
Parker Moore
130159dda4 Fix rubocop error. 2017-01-17 17:05:14 -05:00
Parker Moore
e0d63c8aa9 Add test to ensure that if the includes dir isn't in the theme that it won't break the site 2017-01-17 16:19:47 -05:00
Parker Moore
ad8fb9b927 Add theme_dir() helper func 2017-01-17 16:19:26 -05:00
jekyllbot
71dab94a97 Merge pull request #5779 from jekyll/fix-flaky-plugins-path-test
Merge pull request 5779
2017-01-16 17:03:41 -05:00
Parker Moore
aa7e47a30d Remove calls to Dir.chdir without a block.
This removes the necessity to initialize Jekyll::Configuration::DEFAULTS manually.
2017-01-16 16:43:25 -05:00
Parker Moore
567a7952dd test/helper: fix flaky plugin path test by initializing Configuration::DEFAULTS at start of tests
If we do a Dir.chdir before Configuration::DEFAULTS is initialized, then its source and destination values will not be what we expect.
We expect that Dir.pwd should stay as the root of the repo but there are some errant calls to Dir.chdir without a block that are still
not yet cleaned up.
2017-01-16 16:25:09 -05:00
Frank Taillandier
5d52074d2d appease Rubocop 2017-01-14 20:01:41 +01:00
Pat Hawks
1d885911bc Rubocop: Require consistent comma in multiline literals 2017-01-12 17:52:29 -06:00
Frank Taillandier
31178bfe69 Merge branch 'master' into liquid-4 2017-01-10 20:01:04 +01:00
Pat Hawks
368294b2a9 Update tests to be position independent 2017-01-06 05:55:50 -06:00
Pat Hawks
0f2013114c Merge branch 'master' into jekyll-utils-exec 2017-01-06 05:42:15 -06:00
Ashwin Maroli
ea9c303c95 Merge branch 'master' of https://github.com/jekyll/jekyll into url-slash 2017-01-06 12:02:34 +05:30
Pat Hawks
4b51c1da58 Use assert_nil 2017-01-05 17:08:04 -06:00
Florian Thomas
dde0441b3a find keys also in assigned collections 2016-12-16 15:37:10 -08:00
Parker Moore
d24ea03acf Update highlight block test to conform with v4 API. 2016-12-16 15:36:48 -08:00
Pat Hawks
69c4a8a1aa Use assert_nil instead of assert_equal nil
Fixes #5648
2016-12-10 11:31:04 -06:00
jekyllbot
8ed324007a Merge pull request #5513 from thiagoarrais/5415-group_by_exp-filter
Merge pull request 5513
2016-12-09 16:01:21 -08:00
Thiago Arrais
d4c8d7fd2b Ignore symlinked file in windows 2016-12-09 13:15:16 -03:00
Parker Moore
6e2449b482 Write Jekyll::Utils::Exec.run for running shell commands. 2016-12-07 17:38:22 -08:00
Thiago Arrais
4ed41558d1 Whoops! 2016-11-30 17:54:59 -03:00
jekyllbot
805dd4b0f1 Merge pull request #5611 from XhmikosR/https
Merge pull request 5611
2016-11-29 15:50:29 -08:00
XhmikosR
d9cf97e9c6 Switch to https when possible.
Also, remove two 404 links.
2016-11-29 23:39:23 +02:00
jona
4f4a628df8 fix tests 2016-11-29 13:37:10 +01:00
jona
fac041933c fix date parsing in file names 2016-11-29 09:14:03 +01:00
Ashwin Maroli
d175ba2cb8 clean unit-test-names 2016-11-28 23:09:53 +05:30
Eldritch Cheese
467bd5bb32 Updated test name, using single quotes for cleanliness. 2016-11-28 07:35:48 -05:00
Eldritch Cheese
875d55002b Increased number of posts in test_generated_site to account for special chars test 2016-11-27 07:59:56 -05:00
Eldritch Cheese
a55760d4ad Added unit test for special character, fixed error that it exposed. 2016-11-26 22:31:03 -05:00
Tim Banks
5c965d6a20 Add connector param to array_to_sentence_string filter 2016-11-22 17:38:33 -06:00
Parker Moore
cb6724046d Dates are _the worst_ 2016-11-11 16:30:53 -08:00
Parker Moore
ff012e795a Fix fmt error. 2016-11-11 16:30:53 -08:00
Parker Moore
9f8f031469 Whoops, an *actually useful* failing test. 2016-11-11 16:30:53 -08:00
Parker Moore
f27eb77d0b Add failing test for permalink templates with trailing underscores 2016-11-11 16:30:53 -08:00