Sha256: d88c3a9082d142c8e39dd815409586a45a70e21dace5204ed53a2069fbd96ced

Contents?: true

Size: 286 Bytes

Versions: 16

Compression:

Stored size: 286 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 => '', :dir => '.')
  end
  
  it "initializes a redis connection" do
    @daemon.redis.ping.should == "PONG"
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
rapnd-mikec54088-0.5.5 spec/daemon_spec.rb
rapnd-mikec54088-0.5.4 spec/daemon_spec.rb
rapnd-mikec54088-0.5.3 spec/daemon_spec.rb
rapnd-mikec54088-0.5.2 spec/daemon_spec.rb
rapnd-mikec54088-0.5.1 spec/daemon_spec.rb
rapnd-mikec54088-0.5.0 spec/daemon_spec.rb
rapnd-0.5.0 spec/daemon_spec.rb
rapnd-0.4.1 spec/daemon_spec.rb
rapnd-0.4.0 spec/daemon_spec.rb
rapnd-0.3.1 spec/daemon_spec.rb
rapnd-0.3.0 spec/daemon_spec.rb
rapnd-0.2.5 spec/daemon_spec.rb
rapnd-0.2.4 spec/daemon_spec.rb
rapnd-0.2.3 spec/daemon_spec.rb
rapnd-0.2.2 spec/daemon_spec.rb
rapnd-0.2.1 spec/daemon_spec.rb