Sha256: 94a504d42ae0db6409cf8953248eff89a73119131134abfc0c8ca8c21e83aabf

Contents?: true

Size: 277 Bytes

Versions: 2

Compression:

Stored size: 277 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "Rapnd::Daemon" do
  before do
    @daemon = Rapnd::Daemon.new(:redis_port => 9876, :apn_cert => '')
  end
  
  it "initializes a redis connection" do
    @daemon.redis.ping.should == "PONG"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rapnd-0.1.1 spec/daemon_spec.rb
rapnd-0.1.0 spec/daemon_spec.rb