summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-12-30 15:27:40 -0600
committerMike Greiling <mike@pixelcog.com>2017-01-03 10:56:39 -0600
commit5f192c77e09a9af19268e5c5cf860ffd8c0c6216 (patch)
treeb899c45791919204529f704d44cd527a62b1c1cd /spec/support
parent6370e326995ccb1c1c816b007c63f10d0c7cda25 (diff)
downloadgitlab-ce-5f192c77e09a9af19268e5c5cf860ffd8c0c6216.tar.gz
update all frontend tests to point to precompiled fixtures
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/javascript_fixtures_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/javascript_fixtures_helpers.rb b/spec/support/javascript_fixtures_helpers.rb
index 6817ccb1da7..29dd4de62ff 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