fix test to highlight issue with FileUtils.cp_r

This commit is contained in:
Daniel Grieve 2013-03-13 19:55:15 +00:00
parent 099fcc27d6
commit 1ab83ff9e9
1 changed files with 2 additions and 2 deletions

View File

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