X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1d45a45d1a1ebb0c02b4a9dd7ece73a55a6b24db..8622b46a4a6c127a1927d9c2e54febec6a5bf503:/services/api/test/test_helper.rb diff --git a/services/api/test/test_helper.rb b/services/api/test/test_helper.rb index 8041347cf8..86bc2397c5 100644 --- a/services/api/test/test_helper.rb +++ b/services/api/test/test_helper.rb @@ -84,7 +84,7 @@ class ActiveSupport::TestCase def restore_configuration # Restore configuration settings changed during tests $application_config.each do |k,v| - if k.match /^[^.]*$/ + if k.match(/^[^.]*$/) Rails.configuration.send (k + '='), v end end