Sha256: 67326c77d618c0e642434500bf2fd2ade8a34d165d13c4e3fdf5973a0496c34a

Contents?: true

Size: 475 Bytes

Versions: 12

Compression:

Stored size: 475 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', 'localhost:9160', {:exception_classes => []})
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

12 entries across 12 versions & 3 rubygems

Version Path
cassilds-0.9.2 test/test_helper.rb
cassilds-0.9.1 test/test_helper.rb
cassandra-0.9.1 test/test_helper.rb
cassandra-0.9.0 test/test_helper.rb
jamesgolick-cassandra-0.8.2 test/test_helper.rb
cassandra-0.8.2 test/test_helper.rb
cassandra-0.8.1 test/test_helper.rb
cassandra-0.8.0 test/test_helper.rb
cassandra-0.7.6 test/test_helper.rb
cassandra-0.7.5 test/test_helper.rb
cassandra-0.7.4 test/test_helper.rb
cassandra-0.7.2 test/test_helper.rb