aboutsummaryrefslogtreecommitdiff
path: root/test/models
diff options
context:
space:
mode:
Diffstat (limited to 'test/models')
-rw-r--r--test/models/backends/terraform_aws_test.rb1
-rw-r--r--test/models/backends/terraform_libvirt_test.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/models/backends/terraform_aws_test.rb b/test/models/backends/terraform_aws_test.rb
index f9a34f3..d782f3c 100644
--- a/test/models/backends/terraform_aws_test.rb
+++ b/test/models/backends/terraform_aws_test.rb
@@ -28,6 +28,7 @@ class Backends::TerraformAwsTest < ActiveSupport::TestCase
end
test 'build' do
+ GovukGuix::UpdateGcrootsDirectory.stubs(:add_store_path)
GovukGuix::BuildMiniEnvironment.expects(:build)
@backend.build(@mini_environment)
diff --git a/test/models/backends/terraform_libvirt_test.rb b/test/models/backends/terraform_libvirt_test.rb
index 056a1c4..fb56dba 100644
--- a/test/models/backends/terraform_libvirt_test.rb
+++ b/test/models/backends/terraform_libvirt_test.rb
@@ -17,6 +17,7 @@ class Backends::TerraformLibvirtTest < ActiveSupport::TestCase
end
test 'build' do
+ GovukGuix::UpdateGcrootsDirectory.stubs(:add_store_path)
GovukGuix::BuildMiniEnvironment.expects(:build)
@backend.build(@mini_environment)