fix copying of site template files

This commit is contained in:
Daniel Grieve
2013-03-13 21:27:41 +00:00
parent 1ab83ff9e9
commit 4be5dfdb9a
3 changed files with 8 additions and 12 deletions

View File

@@ -43,7 +43,7 @@ class TestNewCommand < Test::Unit::TestCase
capture_stdout { Jekyll::Commands::New.process(@args) }
new_site_files = dir_contents(@full_path).reject do |f|
File.extname(f) == '.erb'
File.extname(f) == '.markdown'
end
assert_same_elements static_template_files, new_site_files