Commit 5a539704 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'afontaine/generate-frontend-fixtures-fix' into 'master'

Generate Deeply Nested Frontend Fixtures

See merge request gitlab-org/gitlab!53070
parents 5c0975b6 de4cfbba
......@@ -5,7 +5,7 @@ unless Rails.env.production?
directories = %w[spec]
directories << 'ee/spec' if Gitlab.ee?
directory_glob = "{#{directories.join(',')}}"
args.with_defaults(pattern: "#{directory_glob}/frontend/fixtures/*.rb")
args.with_defaults(pattern: "#{directory_glob}/frontend/fixtures/**/*.rb")
ENV['NO_KNAPSACK'] = 'true'
t.pattern = args[:pattern]
t.rspec_opts = '--format documentation'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment