Merge remote-tracking branch 'origin/master' into 14484-collection-record-update
[arvados.git] / services / api / test / unit / job_test.rb
index fc6a97cf7480c645206c867e3449822bfcfa41a5..41e2adb9c3d35a2a6d52f9244b666913eff3e1d5 100644 (file)
@@ -127,6 +127,7 @@ class JobTest < ActiveSupport::TestCase
     'locator' => BAD_COLLECTION,
   }.each_pair do |spec_type, image_spec|
     test "Job validation fails with nonexistent Docker image #{spec_type}" do
+      Rails.configuration.remote_hosts = {}
       job = Job.new job_attrs(runtime_constraints:
                               {'docker_image' => image_spec})
       assert(job.invalid?, "nonexistent Docker image #{spec_type} was valid")