diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-12-30 23:50:07 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-03 19:56:39 +0300 |
commit | 6370e326995ccb1c1c816b007c63f10d0c7cda25 (patch) | |
tree | 560d07a81145addfffe25a9b26076c45643e6ca1 | |
parent | 2373082eb0d6b2f8eff9632a7b96febd9dd794c5 (diff) |
recursively clean compiled fixtures
-rw-r--r-- | spec/support/javascript_fixtures_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/javascript_fixtures_helpers.rb b/spec/support/javascript_fixtures_helpers.rb index 29dd4de62ff..6817ccb1da7 100644 --- a/spec/support/javascript_fixtures_helpers.rb +++ b/spec/support/javascript_fixtures_helpers.rb @@ -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 |