Sha256: 5766434836f3f0c57e29744c53a12c9ba6398a037f9d11ea7e8cf7cf2a76f73e
Contents?: true
Size: 346 Bytes
Versions: 19
Compression:
Stored size: 346 Bytes
Contents
require "unit_spec_helper" describe Rpush::DeliveryError do let(:error) { Rpush::DeliveryError.new(4, 12, "Missing payload") } it "returns an informative message" do error.to_s.should eq "Unable to deliver notification 12, received error 4 (Missing payload)" end it "returns the error code" do error.code.should eq 4 end end
Version data entries
19 entries across 19 versions & 1 rubygems