From c17ed7ec93073dfeb8f272448df43d737d113d06 Mon Sep 17 00:00:00 2001 From: Anatol Broder Date: Sat, 8 Feb 2014 13:26:03 +0100 Subject: [PATCH] Add comment about symlinked directories --- test/test_site.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_site.rb b/test/test_site.rb index 3b29a78c..31752967 100644 --- a/test/test_site.rb +++ b/test/test_site.rb @@ -157,6 +157,7 @@ class TestSite < Test::Unit::TestCase should "sort pages alphabetically" do stub.proxy(Dir).entries { |entries| entries.reverse } @site.process + # files in symlinked directories may appear twice sorted_pages = %w(.htaccess about.html bar.html coffeescript.coffee contacts.html deal.with.dots.html foo.md index.html index.html main.scss main.scss properties.html sitemap.xml symlinked-file) assert_equal sorted_pages, @site.pages.map(&:name) end