spec/configoro/hash_spec.rb in configoro-1.3.0 vs spec/configoro/hash_spec.rb in configoro-1.4.0
- old
+ new
@@ -117,6 +117,12 @@
subject.hsh.key1.should eql('val1')
subject.hsh.key2.should eql('newval')
end
end
+
+ describe "#to_symbolized_hash" do
+ subject { Configoro::Hash.new(foo: {bar: 'baz'}) }
+
+ its(:to_symbolized_hash) { should eql(foo: {bar: 'baz'}) }
+ end
end