Update test/test_site.rb

This commit is contained in:
xiaojian cai 2013-01-09 16:23:58 +08:00
parent 1e892678bc
commit 655cf3b3a8
1 changed files with 3 additions and 3 deletions

View File

@ -159,11 +159,11 @@ class TestSite < Test::Unit::TestCase
end
should "not filter entries within include" do
includes = %w[_index.html .htaccess]
files = %w[index.html _index.html .htaccess]
includes = %w[_index.html .htaccess include*]
files = %w[index.html _index.html .htaccess includeA]
@site.include = includes
assert_equal files, @site.filter_entries(files)
assert_equal files, @site.filter_entries(files + ["includeA"])
end
context 'error handling' do