X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/72912c6b25fcb10c0acc540daf4f8a25d802784b..a734789218122d8ab0d8f766bac4d69c04db91bf:/services/api/test/test_helper.rb diff --git a/services/api/test/test_helper.rb b/services/api/test/test_helper.rb index d998c92cad..86bc2397c5 100644 --- a/services/api/test/test_helper.rb +++ b/services/api/test/test_helper.rb @@ -21,10 +21,7 @@ unless ENV["NO_COVERAGE_TEST"] end require File.expand_path('../../config/environment', __FILE__) -gem 'minitest' require 'rails/test_help' -require 'minitest-rails' -require 'minitest/autorun' require 'mocha' module ArvadosTestSupport @@ -87,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