diff options
Diffstat (limited to 'spec/support/graphql/arguments.rb')
-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' |