summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkenner kliemann <kenner.hp@gmail.com>2020-10-05 10:00:18 -0300
committerkenner kliemann <kenner.hp@gmail.com>2020-10-05 10:10:00 -0300
commit4759e049ae8f73eae4e45ec3a0b1691510fe0e27 (patch)
treed6e6db1e870158215181978b57b01ae54da4c261
parent792714b91c3c0393997d13ef43876b1c3c62f64a (diff)
downloadhashie-4759e049ae8f73eae4e45ec3a0b1691510fe0e27.tar.gz
require json at spec_helper to fix #532
-rw-r--r--CHANGELOG.md1
-rw-r--r--spec/spec_helper.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1800fec..bb383a7 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 b0f9ce9..0bdf972 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -7,6 +7,7 @@ require 'pry'
require 'rspec'
require 'hashie'
+require 'json'
require 'rspec/pending_for'
require './spec/support/ruby_version_check'
require './spec/support/logger'