Skip to content
Snippets Groups Projects
Commit 6370e326 authored by Mike Greiling's avatar Mike Greiling
Browse files

recursively clean compiled fixtures

parent 2373082e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment