Sha256: c30fe6c2b0800f87034cb1d4098ca0c5dd0b0a5f446ab12fa456424d223d3954
Contents?: true
Size: 569 Bytes
Versions: 3
Compression:
Stored size: 569 Bytes
Contents
require_relative '../../spec_helper' module Eurydice module Pelops describe ColumnFamily do before :all do @keyspace_name = "eurydice_test_space_#{rand(1000)}" @cf_name = "column_family_#{rand(1000)}" @cluster = Eurydice.connect(host: ENV['CASSANDRA_HOST']) @keyspace = @cluster.keyspace(@keyspace_name, :create => false) @keyspace.drop! rescue nil @keyspace.create! end after :all do @keyspace.drop! rescue nil end it_behaves_like 'ColumnFamily' end end end
Version data entries
3 entries across 3 versions & 1 rubygems