Sha256: 782efdd84760578304d6b82dbde96be14ba82331404977141242c7ce10809755

Contents?: true

Size: 338 Bytes

Versions: 26

Compression:

Stored size: 338 Bytes

Contents

require 'spec_helper'

describe CassandraObject::Adapters::CassandraDriver do
  context "Client" do
    it "should return the column family definition by name" do
      expect(Issue.connection.column_families['Issues'].present?).to be true
      expect(Issue.connection.column_families['Unknowns'].present?).to be false
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
sessionm-cassandra_object-4.0.11 spec/cassandra_object/adapters/cassandra_driver_spec.rb
sessionm-cassandra_object-4.0.10 spec/cassandra_object/adapters/cassandra_driver_spec.rb
sessionm-cassandra_object-4.0.9 spec/cassandra_object/adapters/cassandra_driver_spec.rb
sessionm-cassandra_object-4.0.8 spec/cassandra_object/adapters/cassandra_driver_spec.rb
sessionm-cassandra_object-4.0.7 spec/cassandra_object/adapters/cassandra_driver_spec.rb
sessionm-cassandra_object-4.0.6 spec/cassandra_object/adapters/cassandra_driver_spec.rb