From 03b9648aa2ad835559c1bec32f74fbbec91400ce Mon Sep 17 00:00:00 2001 From: Nick Evans <2616208+nickevansuk@users.noreply.github.com> Date: Mon, 17 Jun 2024 16:17:13 +0100 Subject: [PATCH] Update data_structure_spec.rb --- spec/data_structure/data_structure_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/data_structure/data_structure_spec.rb b/spec/data_structure/data_structure_spec.rb index f0308c37..f971bc7a 100644 --- a/spec/data_structure/data_structure_spec.rb +++ b/spec/data_structure/data_structure_spec.rb @@ -18,7 +18,9 @@ } ] - objs.each do |model:, data:| + objs.each do |obj| + model = obj[:model] + data = obj[:data] describe model do let(:inst) { model.deserialize(data) }