diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-05 03:16:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-05 03:16:10 +0300 |
commit | 41e9bac6ed3ae66ea0b34b6ea60b10a58eae4fbd (patch) | |
tree | 78bb044d7fc2d06dc675369f7b586a5d1f68dd14 /spec/support/graphql | |
parent | 44bb0760bd78154bb74b8d923535c679caef5e05 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/graphql')
-rw-r--r-- | spec/support/graphql/arguments.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/graphql/arguments.rb b/spec/support/graphql/arguments.rb index d8c334c2ca4..20e940030f8 100644 --- a/spec/support/graphql/arguments.rb +++ b/spec/support/graphql/arguments.rb @@ -41,6 +41,7 @@ module Graphql when Hash then "{#{new(value)}}" when Integer, Float, Symbol then value.to_s when String then "\"#{value.gsub(/"/, '\\"')}\"" + when Time, Date then "\"#{value.iso8601}\"" when nil then 'null' when true then 'true' when false then 'false' |