spec/direct_spec.rb in chargify2-0.2.5 vs spec/direct_spec.rb in chargify2-0.2.6
- old
+ new
@@ -43,10 +43,10 @@
sp = direct.secure_parameters('timestamp' => timestamp, 'nonce' => nonce, 'data' => data)
sp.timestamp.should == timestamp
sp.nonce.should == nonce
- sp.data.should == data.symbolize_keys
+ sp.data.should == data.recursive_symbolize_keys
end
end
describe ".signature" do
it "generates an HMAC-SHA1 hash from the given +message+ and +secret+" do