Skip to content

Commit

Permalink
TestTheme: update tests for 'path_for' now that it's no longer prepen…
Browse files Browse the repository at this point in the history
…ding the underscore
  • Loading branch information
parkr committed Sep 16, 2016
1 parent 87b9cfe commit cf26bf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_theme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit cf26bf5

Please sign in to comment.