summaryrefslogtreecommitdiff
path: root/qa/spec/specs/runner_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/spec/specs/runner_spec.rb')
-rw-r--r--qa/spec/specs/runner_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/spec/specs/runner_spec.rb b/qa/spec/specs/runner_spec.rb
index 6c533c6dc7d..3d98f03a982 100644
--- a/qa/spec/specs/runner_spec.rb
+++ b/qa/spec/specs/runner_spec.rb
@@ -125,9 +125,9 @@ describe QA::Specs::Runner do
end
def excluded_feature_tags_except(tag)
- QA::Runtime::Env.supported_features.except(tag).map do |tag, _|
+ QA::Runtime::Env.supported_features.except(tag).flat_map do |tag, _|
['--tag', "~requires_#{tag}"]
- end.flatten
+ end
end
def expect_rspec_runner_arguments(arguments)