Sha256: 10ef8a64d8400eb89f1fbc0cd90130f2f7629dcacd32c926dde8a07c082a0e69
Contents?: true
Size: 613 Bytes
Versions: 1
Compression:
Stored size: 613 Bytes
Contents
require 'helper' class TestBucket < Minitest::Test def test_async_access assert_instance_of com.couchbase.client.java.CouchbaseAsyncBucket, Couchbase.bucket.async end def test_legacy_set_and_get obj = { 'a' => 1, 'b' => 'b', 'c' => true, 'd' => [1, 2, 3] } assert Couchbase.bucket.set('a', obj) doc = Couchbase.bucket.get('a') assert_equal obj, doc.to_h end def test_get_and_set_string assert Couchbase.bucket.set('a', 'a') assert_equal 'a', Couchbase.bucket.get('a').to_s end def test_flush_bucket assert Couchbase.bucket.flush end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
couchbase-jruby-client-1.0.4-java | test/test_bucket.rb |