Sha256: 67d10b6aa06d558159e5ef9a7b4d179cf862997581d85b46490148a48809b069

Contents?: true

Size: 469 Bytes

Versions: 37

Compression:

Stored size: 469 Bytes

Contents

require 'test_helper'

class CassandraObject::ConsistencyTest < CassandraObject::TestCase
  class TestModel < CassandraObject::Base
  end

  test 'thrift_write_consistency' do
    TestModel.write_consistency = :all
    assert_equal Cassandra::Consistency::ALL, TestModel.thrift_write_consistency
  end
  
  test 'thrift_read_consistency' do
    TestModel.read_consistency = :all
    assert_equal Cassandra::Consistency::ALL, TestModel.thrift_read_consistency
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
sessionm-cassandra_object-2.7.5 test/consistency_test.rb
sessionm-cassandra_object-2.7.4 test/consistency_test.rb
sessionm-cassandra_object-2.7.3 test/consistency_test.rb
sessionm-cassandra_object-2.7.2 test/consistency_test.rb
sessionm-cassandra_object-2.7.1 test/consistency_test.rb
sessionm-cassandra_object-2.7.0 test/consistency_test.rb
sessionm-cassandra_object-2.6.1 test/consistency_test.rb
sessionm-cassandra_object-2.6.0 test/consistency_test.rb
sessionm-cassandra_object-2.5.9 test/consistency_test.rb
sessionm-cassandra_object-2.5.8 test/consistency_test.rb
sessionm-cassandra_object-2.5.7 test/consistency_test.rb
sessionm-cassandra_object-2.5.6 test/consistency_test.rb
sessionm-cassandra_object-2.5.5 test/consistency_test.rb
sessionm-cassandra_object-2.5.4 test/consistency_test.rb
sessionm-cassandra_object-2.5.3 test/consistency_test.rb
sessionm-cassandra_object-2.5.2 test/consistency_test.rb
sessionm-cassandra_object-2.5.1 test/consistency_test.rb
sessionm-cassandra_object-2.5.0 test/consistency_test.rb
sessionm-cassandra_object-2.4.9 test/consistency_test.rb
sessionm-cassandra_object-2.4.8 test/consistency_test.rb