From 4759e049ae8f73eae4e45ec3a0b1691510fe0e27 Mon Sep 17 00:00:00 2001 From: kenner kliemann Date: Mon, 5 Oct 2020 10:00:18 -0300 Subject: [PATCH] require json at spec_helper to fix #532 --- CHANGELOG.md | 1 + spec/spec_helper.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1800fec8..bb383a79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ Any violations of this scheme are considered to be bugs. * [#516](https://github.com/hashie/hashie/issues/516): Fixed `NoMethodError` raised when including `Hashie::Extensions::Mash::SymbolizeKeys` and `Hashie::Extensions::SymbolizeKeys` in mashes/hashes with non string or symbol keys - [@carolineartz](https://github.com/carolineartz). * [#531](https://github.com/hashie/hashie/pull/531): Fixed [slice doesn't work using symbols](https://github.com/hashie/hashie/issues/529) using hash with `IndifferentAccess` extension - [@gnomex](https://github.com/gnomex). +* [#533](https://github.com/hashie/hashie/pull/533): Fixed `NoMethodError: undefined method `to_json'` at `hashie/dash_spec` - [@gnomex](https://github.com/gnomex). * Your contribution here. ### Security diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b0f9ce99..0bdf972e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,6 +7,7 @@ require 'rspec' require 'hashie' +require 'json' require 'rspec/pending_for' require './spec/support/ruby_version_check' require './spec/support/logger'