Sha256: ef6ca0aea9ca07874b3c029333e577951539dbfbb0b5ecb21645141002c92c1c
Contents?: true
Size: 458 Bytes
Versions: 9
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' module ApnServer describe Client do describe "#new" do let(:client) { ApnServer::Client.new('cert.pem', 'gateway.sandbox.push.apple.com', 2196) } it "sets the pem path" do client.pem.should == 'cert.pem' end it "sets the host" do client.host.should == 'gateway.sandbox.push.apple.com' end it "sets the port" do client.port.should == 2196 end end end end
Version data entries
9 entries across 9 versions & 2 rubygems