From 4aeb8a02c506eaa8f0710ee17edd9e35dd68d280 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 23 Dec 2019 12:08:18 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/support/matchers/graphql_matchers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/support/matchers') diff --git a/spec/support/matchers/graphql_matchers.rb b/spec/support/matchers/graphql_matchers.rb index dbf457a9200..282deea4606 100644 --- a/spec/support/matchers/graphql_matchers.rb +++ b/spec/support/matchers/graphql_matchers.rb @@ -8,7 +8,7 @@ end RSpec::Matchers.define :have_graphql_fields do |*expected| def expected_field_names - expected.map { |name| GraphqlHelpers.fieldnamerize(name) } + Array.wrap(expected).map { |name| GraphqlHelpers.fieldnamerize(name) } end match do |kls| -- cgit v1.2.1