test/agcod/request_test.rb in agcod-0.1.0 vs test/agcod/request_test.rb in agcod-0.1.1
- old
+ new
@@ -67,10 +67,10 @@
assert request_string_to_sign.include?("GET\nagcws-gamma.amazon.com\n/\n")
end
should "use a sha256 digest" do
d = mock('digest')
- OpenSSL::Digest::Digest.expects(:new).twice.with('sha256').returns(d)
+ OpenSSL::Digest.expects(:new).twice.with('sha256').returns(d)
OpenSSL::HMAC.expects(:digest).twice.returns ""
@request.submit
end
end
end