Sha256: 0f7436ef0f0dc67c7f1b818a35e451bc92849835c4a72faa6685d70ceb9bcc33

Contents?: true

Size: 273 Bytes

Versions: 10

Compression:

Stored size: 273 Bytes

Contents

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rapnd-0.2.0 spec/daemon_spec.rb
rapnd-0.1.10 spec/daemon_spec.rb
rapnd-0.1.9 spec/daemon_spec.rb
rapnd-0.1.8 spec/daemon_spec.rb
rapnd-0.1.7 spec/daemon_spec.rb
rapnd-0.1.6 spec/daemon_spec.rb
rapnd-0.1.5 spec/daemon_spec.rb
rapnd-0.1.4 spec/daemon_spec.rb
rapnd-0.1.3 spec/daemon_spec.rb
rapnd-0.1.2 spec/daemon_spec.rb