Sha256: 7509a2bc32dc5118c05103d60a50de64e6a1b27c8fef3b447dea8d4f79a4b00a

Contents?: true

Size: 385 Bytes

Versions: 25

Compression:

Stored size: 385 Bytes

Contents

require "test_helper"

class CassandraObject::ConsistencyTest < CassandraObject::TestCase
  test "with_consistency" do
    original = CassandraObject::Base.default_consistency

    CassandraObject::Base.with_consistency 'LOL' do
      assert_equal 'LOL', CassandraObject::Base.default_consistency
    end

    assert_equal original, CassandraObject::Base.default_consistency
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
gotime-cassandra_object-4.12.0 test/unit/consistency_test.rb
gotime-cassandra_object-4.11.6 test/unit/consistency_test.rb
gotime-cassandra_object-4.11.5 test/unit/consistency_test.rb
gotime-cassandra_object-4.11.4 test/unit/consistency_test.rb
gotime-cassandra_object-4.11.3 test/unit/consistency_test.rb
gotime-cassandra_object-4.11.2 test/unit/consistency_test.rb
gotime-cassandra_object-4.11.1 test/unit/consistency_test.rb
gotime-cassandra_object-4.11.0 test/unit/consistency_test.rb
gotime-cassandra_object-4.10.5 test/unit/consistency_test.rb
gotime-cassandra_object-4.10.4 test/unit/consistency_test.rb
gotime-cassandra_object-4.10.3 test/unit/consistency_test.rb
gotime-cassandra_object-4.10.2 test/unit/consistency_test.rb
gotime-cassandra_object-4.10.1 test/unit/consistency_test.rb
cassandra_object_rails-0.0.1 test/unit/consistency_test.rb
gotime-cassandra_object-4.10.0 test/unit/consistency_test.rb
gotime-cassandra_object-4.9.2 test/unit/consistency_test.rb
gotime-cassandra_object-4.9.1 test/unit/consistency_test.rb
gotime-cassandra_object-4.9.0 test/unit/consistency_test.rb
gotime-cassandra_object-4.8.1 test/unit/consistency_test.rb
gotime-cassandra_object-4.8.0 test/unit/consistency_test.rb