Merge branch '4291-workbench-collection-sharing-button-wip'
[arvados.git] / services / api / test / unit / collection_test.rb
index 8853319e639c979a517c20685ccea76cccf6b061..d9c220322e87f8335da1426d7fd395882f7c53be 100644 (file)
@@ -9,14 +9,14 @@ class CollectionTest < ActiveSupport::TestCase
 
   test 'accept ASCII manifest_text' do
     act_as_system_user do
-      c = create_collection 'foo'
+      c = create_collection 'foo', Encoding::US_ASCII
       assert c.valid?
     end
   end
 
   test 'accept UTF-8 manifest_text' do
     act_as_system_user do
-      c = create_collection "f\xc3\x98\xc3\x98"
+      c = create_collection "f\xc3\x98\xc3\x98", Encoding::UTF_8
       assert c.valid?
     end
   end