diff options
Diffstat (limited to 'spec/frontend/packages_and_registries/infrastructure_registry/components/terraform_installation_spec.js')
-rw-r--r-- | spec/frontend/packages_and_registries/infrastructure_registry/components/terraform_installation_spec.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/frontend/packages_and_registries/infrastructure_registry/components/terraform_installation_spec.js b/spec/frontend/packages_and_registries/infrastructure_registry/components/terraform_installation_spec.js index 7a129794d54..d527587da16 100644 --- a/spec/frontend/packages_and_registries/infrastructure_registry/components/terraform_installation_spec.js +++ b/spec/frontend/packages_and_registries/infrastructure_registry/components/terraform_installation_spec.js @@ -13,6 +13,7 @@ describe('TerraformInstallation', () => { const store = new Vuex.Store({ state: { packageEntity, + gitlabHost: 'bar.dev', projectPath: 'foo', }, }); @@ -42,7 +43,7 @@ describe('TerraformInstallation', () => { it('renders the correct command', () => { expect(findCodeInstructions().at(0).props('instruction')).toMatchInlineSnapshot(` "module \\"Test/system-22\\" { - source = \\"foo/Test/system-22\\" + source = \\"bar.dev/foo/Test/system-22\\" version = \\"0.1\\" }" `); @@ -52,7 +53,7 @@ describe('TerraformInstallation', () => { describe('setup commands', () => { it('renders the correct command', () => { expect(findCodeInstructions().at(1).props('instruction')).toMatchInlineSnapshot(` - "credentials \\"gitlab.com\\" { + "credentials \\"bar.dev\\" { token = \\"<TOKEN>\\" }" `); |