Sha256: 01b20b304f61b77a22a914a606651c046caeb0185a80739ce74bc9278fad9ac7

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 Bytes

Contents

require 'test_helper'

class CassandraObject::SchemaTest < CassandraObject::TestCase
  test "create_column_family" do
    CassandraObject::Schema.create_column_family 'TestRecords', 'compression_parameters:sstable_compression' => 'SnappyCompressor'

    begin
      CassandraObject::Schema.create_column_family 'TestRecords'
      assert false, 'TestRecords should already exist'
    rescue Exception => e
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gotime-cassandra_object-4.5.1 test/unit/schema_test.rb
gotime-cassandra_object-4.5.0 test/unit/schema_test.rb
gotime-cassandra_object-4.4.5 test/unit/schema_test.rb