aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/models/backends/terraform_aws_test.rb2
-rw-r--r--test/models/backends/terraform_libvirt_test.rb2
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