spec/pushpad_spec.rb in pushpad-0.13.0 vs spec/pushpad_spec.rb in pushpad-1.0.0

- old
+ new

@@ -14,11 +14,11 @@ expect(Pushpad.project_id).to eq 123 end end describe "#signature_for" do - it "produces the hex-encoded HMAC-SHA1 signature for the data passed as argument" do + it "produces the hex-encoded HMAC-SHA256 signature for the data passed as argument" do signature = Pushpad.signature_for('myuid1') - expect(signature).to eq '27fbe136f5a4aa0b6be74c0e18fa8ce81ad91b60' + expect(signature).to eq 'd213a2f146dd9aae9cb935b5233d42fecc9414e2b0e98896af7a43e7fce3ef31' end end end