Sha256: 037b5e7bd457739d2de1c7d422c8fd70d337997ce45b15eea49421ac5d4dfd1a

Contents?: true

Size: 429 Bytes

Versions: 3

Compression:

Stored size: 429 Bytes

Contents

require 'test/unit'
require "#{File.expand_path(File.dirname(__FILE__))}/../lib/cassandra"
begin; require 'ruby-debug'; rescue LoadError; end

begin
  @test_client = Cassandra.new('Twitter')
rescue Thrift::TransportException => e
  #FIXME Make server automatically start if not running
  if e.message =~ /Could not connect/
    puts "*** Please start the Cassandra server by running 'rake cassandra'. ***" 
    exit 1
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cassandra-0.7.1 test/test_helper.rb
cassandra-0.7 test/test_helper.rb
cassandra-0.6 test/test_helper.rb