Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-02-05 03:16:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-02-05 03:16:10 +0300
commit41e9bac6ed3ae66ea0b34b6ea60b10a58eae4fbd (patch)
tree78bb044d7fc2d06dc675369f7b586a5d1f68dd14 /spec/support/graphql
parent44bb0760bd78154bb74b8d923535c679caef5e05 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/graphql')
-rw-r--r--spec/support/graphql/arguments.rb1
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'