Sha256: 1c9c0a3eb090cbc3bb0fcb1dfcc7604a84976fb9db573819c31df76cd2e49d78

Contents?: true

Size: 423 Bytes

Versions: 32

Compression:

Stored size: 423 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 :all, TestModel.thrift_write_consistency
  end
  
  test 'thrift_read_consistency' do
    TestModel.read_consistency = :all
    assert_equal :all, TestModel.thrift_read_consistency
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
sessionm-cassandra_object-4.0.32 test/consistency_test.rb
sessionm-cassandra_object-4.0.31 test/consistency_test.rb
sessionm-cassandra_object-4.0.30 test/consistency_test.rb
sessionm-cassandra_object-4.0.29 test/consistency_test.rb
sessionm-cassandra_object-4.0.28 test/consistency_test.rb
sessionm-cassandra_object-4.0.27 test/consistency_test.rb
sessionm-cassandra_object-4.0.26 test/consistency_test.rb
sessionm-cassandra_object-4.0.25 test/consistency_test.rb
sessionm-cassandra_object-4.0.24 test/consistency_test.rb
sessionm-cassandra_object-4.0.23 test/consistency_test.rb
sessionm-cassandra_object-4.0.22 test/consistency_test.rb
sessionm-cassandra_object-4.0.21 test/consistency_test.rb
sessionm-cassandra_object-4.0.20 test/consistency_test.rb
sessionm-cassandra_object-4.0.18 test/consistency_test.rb
sessionm-cassandra_object-4.0.17 test/consistency_test.rb
sessionm-cassandra_object-4.0.16 test/consistency_test.rb
sessionm-cassandra_object-4.0.15 test/consistency_test.rb
sessionm-cassandra_object-4.0.14 test/consistency_test.rb
sessionm-cassandra_object-4.0.13 test/consistency_test.rb
sessionm-cassandra_object-4.0.12 test/consistency_test.rb