Fix rubocop error.

This commit is contained in:
Parker Moore 2017-01-17 17:05:14 -05:00
parent 023476049b
commit 130159dda4
No known key found for this signature in database
GPG Key ID: 193CDEBA72063C58
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ class TestSite < JekyllUnitTest
should "only include theme includes_path if the path exists" do
site = fixture_site({ "theme" => "test-theme" })
assert_equal [source_dir("_includes"), theme_dir("_includes")], site.includes_load_paths
assert_equal [source_dir("_includes"), theme_dir("_includes")],
site.includes_load_paths
allow(File).to receive(:directory?).with(theme_dir("_sass")).and_return(true)
allow(File).to receive(:directory?).with(theme_dir("_layouts")).and_return(true)