Merge branch 'master' into 8019-crunchrun-log-throttle
[arvados.git] / services / api / test / test_helper.rb
index 8041347cf8c13a48b4bff29541498d772984291b..86bc2397c5309e98310f659d4077d7d0f8a33184 100644 (file)
@@ -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