From 1fcb11bb31d0ffbf37de3ce704231bdcdaf787ca Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 22 Jun 2018 07:34:07 +0100 Subject: Replace the GovukGuix::BuildJob With a service that performs the same function, and use the MiniEnvironmentJob instead. --- test/models/backends/terraform_aws_test.rb | 2 +- test/models/backends/terraform_libvirt_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/models/backends/terraform_aws_test.rb b/test/models/backends/terraform_aws_test.rb index deb395f..1a98440 100644 --- a/test/models/backends/terraform_aws_test.rb +++ b/test/models/backends/terraform_aws_test.rb @@ -17,7 +17,7 @@ class Backends::TerraformAwsTest < ActiveSupport::TestCase end test 'build' do - GovukGuix::BuildJob.expects(:enqueue) + GovukGuix::BuildMiniEnvironment.expects(:build) @backend.build(@mini_environment) end diff --git a/test/models/backends/terraform_libvirt_test.rb b/test/models/backends/terraform_libvirt_test.rb index 1f19a29..056a1c4 100644 --- a/test/models/backends/terraform_libvirt_test.rb +++ b/test/models/backends/terraform_libvirt_test.rb @@ -17,7 +17,7 @@ class Backends::TerraformLibvirtTest < ActiveSupport::TestCase end test 'build' do - GovukGuix::BuildJob.expects(:enqueue) + GovukGuix::BuildMiniEnvironment.expects(:build) @backend.build(@mini_environment) end -- cgit v1.2.3