Fix rubocop error.
This commit is contained in:
parent
023476049b
commit
130159dda4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue