From cf26bf5db0fd2a50ae2bf5cc207bd3d6d633cc0c Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Fri, 16 Sep 2016 15:36:33 -0700 Subject: [PATCH] TestTheme: update tests for 'path_for' now that it's no longer prepending the underscore --- test/test_theme.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_theme.rb b/test/test_theme.rb index a448ce30735..a24a4c8863b 100644 --- a/test/test_theme.rb +++ b/test/test_theme.rb @@ -43,7 +43,7 @@ def setup 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 @@ def setup 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