diff --git a/spec/integration/monads_serialization_spec.rb b/spec/integration/monads_serialization_spec.rb index f66c511..06c20d0 100644 --- a/spec/integration/monads_serialization_spec.rb +++ b/spec/integration/monads_serialization_spec.rb @@ -15,7 +15,7 @@ } end - subject { JSON.load(JSON.dump(example_structure)) } # rubocop:disable Security/JSONLoad + subject { JSON.unsafe_load(JSON.dump(example_structure)) } it "should rebuild the example structure" do is_expected.to eql(example_structure)