Skip to content

Commit

Permalink
fix: Update in preparation for Ruby 3 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk authored Jun 17, 2024
1 parent 21031c1 commit bb28116
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion spec/data_structure/data_structure_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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) }

Expand Down
5 changes: 4 additions & 1 deletion spec/data_typing/data_typing_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
}
]

objs.each do |model:, data:|
objs.each do |obj|
model = obj[:model]
data = obj[:data]

describe model do
describe "#type" do
it "reserializes to original value" do
Expand Down

0 comments on commit bb28116

Please sign in to comment.