Commits

jus...@basho.com  committed 8153f4c

fix write_mask in ruby selftest

  • Participants
  • Parent commits 0af14ad

Comments (0)

Files changed (1)

File client_lib/jiak.rb

   jc = Riak::Client.new("127.0.0.1", 8098)
 
   puts "Creating bucket foo..."
-  jc.set_bucket_schema('foo', {'allowed_fields'=>['bar','baz']})
+  jc.set_bucket_schema('foo', {'allowed_fields'=>['bar','baz'],
+                               'write_mask'=>['bar','baz']})
   b = jc.list_bucket('foo')
   puts "Bucket foo's schema: "
   p b['schema']