TestTheme: update tests for 'path_for' now that it's no longer prepending the underscore

This commit is contained in:
Parker Moore 2016-09-16 15:36:33 -07:00
parent 87b9cfe2b5
commit cf26bf5db0
No known key found for this signature in database
GPG Key ID: 193CDEBA72063C58
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class TestTheme < JekyllUnitTest
should "generate folder paths" do
expected = File.expand_path("./_sass", @expected_root)
assert_equal expected, @theme.send(:path_for, :sass)
assert_equal expected, @theme.send(:path_for, :_sass)
end
should "not allow paths outside of the theme root" do
@ -56,7 +56,7 @@ class TestTheme < JekyllUnitTest
should "return the resolved path when a symlink & resolved path exists" do
expected = File.expand_path("./_layouts", @expected_root)
assert_equal expected, @theme.send(:path_for, :symlink)
assert_equal expected, @theme.send(:path_for, :_symlink)
end
end