recursively clean compiled fixtures
This commit is contained in:
parent
2373082eb0
commit
6370e32699
|
@ -13,7 +13,7 @@ module JavaScriptFixturesHelpers
|
|||
#
|
||||
def clean_frontend_fixtures(directory_name)
|
||||
directory_name = File.expand_path(directory_name, FIXTURE_PATH)
|
||||
Dir[File.expand_path('*.html.raw', directory_name)].each do |file_name|
|
||||
Dir[File.expand_path('**/*.html.raw', directory_name)].each do |file_name|
|
||||
FileUtils.rm(file_name)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue