diff options
author | Christopher Baines <mail@cbaines.net> | 2018-06-22 07:34:07 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-06-22 07:34:07 +0100 |
commit | 1fcb11bb31d0ffbf37de3ce704231bdcdaf787ca (patch) | |
tree | cd8f0c90a9e1f58455c27c3f60f0afc1c2387c1a /test | |
parent | 3f2561ef31851f43e9270679eb23304007aadd67 (diff) | |
download | govuk-mini-environment-admin-1fcb11bb31d0ffbf37de3ce704231bdcdaf787ca.tar govuk-mini-environment-admin-1fcb11bb31d0ffbf37de3ce704231bdcdaf787ca.tar.gz |
Replace the GovukGuix::BuildJob
With a service that performs the same function, and use the
MiniEnvironmentJob instead.
Diffstat (limited to 'test')
-rw-r--r-- | test/models/backends/terraform_aws_test.rb | 2 | ||||
-rw-r--r-- | test/models/backends/terraform_libvirt_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
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 |