X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/465cb9225cce74600349239a295b1360ce2b0fa6..0561bd0c3c07257fd58ded6c7cfa5feeae97af57:/services/api/test/unit/authorized_key_test.rb diff --git a/services/api/test/unit/authorized_key_test.rb b/services/api/test/unit/authorized_key_test.rb index 5a661785bd..14bca29e0a 100644 --- a/services/api/test/unit/authorized_key_test.rb +++ b/services/api/test/unit/authorized_key_test.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'test_helper' class AuthorizedKeyTest < ActiveSupport::TestCase @@ -25,7 +29,7 @@ class AuthorizedKeyTest < ActiveSupport::TestCase ak2 = AuthorizedKey.new(name: "bar", public_key: TEST_KEY, authorized_user_uuid: u2.uuid) refute ak2.valid? refute ak2.save - assert_match /already exists/, ak2.errors.full_messages.to_s + assert_match(/already exists/, ak2.errors.full_messages.to_s) end end