Skip to content

Commit

Permalink
Clarify test for deserializing an empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
justincampbell committed Jun 6, 2019
1 parent 675eccb commit 26f8592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/vault/rails/json_serializer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26f8592

Please sign in to comment.