From 26f8592eabdfc3947151ce88ffe69879973f9813 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Thu, 6 Jun 2019 17:00:17 -0400 Subject: [PATCH] Clarify test for deserializing an empty string --- spec/lib/vault/rails/json_serializer_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/vault/rails/json_serializer_spec.rb b/spec/lib/vault/rails/json_serializer_spec.rb index 645fb0aa..43661ddb 100644 --- a/spec/lib/vault/rails/json_serializer_spec.rb +++ b/spec/lib/vault/rails/json_serializer_spec.rb @@ -34,7 +34,7 @@ it { is_expected.to eq(nil) } end - context "with an empty string" do + context "with an empty string (only possible if column has a default)" do let(:raw) { "" } it { is_expected.to eq(nil) } end