fix test to highlight issue with FileUtils.cp_r
This commit is contained in:
parent
099fcc27d6
commit
1ab83ff9e9
|
@ -42,8 +42,8 @@ class TestNewCommand < Test::Unit::TestCase
|
||||||
|
|
||||||
capture_stdout { Jekyll::Commands::New.process(@args) }
|
capture_stdout { Jekyll::Commands::New.process(@args) }
|
||||||
|
|
||||||
new_site_files = dir_contents(@full_path).select do |f|
|
new_site_files = dir_contents(@full_path).reject do |f|
|
||||||
static_template_files.include? f
|
File.extname(f) == '.erb'
|
||||||
end
|
end
|
||||||
|
|
||||||
assert_same_elements static_template_files, new_site_files
|
assert_same_elements static_template_files, new_site_files
|
||||||
|
|
Loading…
Reference in New Issue