aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-04-05 23:40:57 +0100
committerChristopher Baines <mail@cbaines.net>2018-04-12 08:30:05 +0100
commitba9394df03dc69c45dd27535bee8cd0c50a4d968 (patch)
treec357f5fee77ecd5e507178d1f191c1cbee3149ee
parentb03a664ec42bd93a7547fb53216ab3ae5d099dcd (diff)
downloadgovuk-mini-environment-admin-ba9394df03dc69c45dd27535bee8cd0c50a4d968.tar
govuk-mini-environment-admin-ba9394df03dc69c45dd27535bee8cd0c50a4d968.tar.gz
Fix some linting issues in the tests
-rw-r--r--test/models/backends/terraform_aws_test.rb14
-rw-r--r--test/models/backends/terraform_libvirt_test.rb14
2 files changed, 14 insertions, 14 deletions
diff --git a/test/models/backends/terraform_aws_test.rb b/test/models/backends/terraform_aws_test.rb
index 2337bda..deb395f 100644
--- a/test/models/backends/terraform_aws_test.rb
+++ b/test/models/backends/terraform_aws_test.rb
@@ -7,40 +7,40 @@ class Backends::TerraformAwsTest < ActiveSupport::TestCase
id: 1,
name: 'Test Mini Environment',
backend_data: {
- 'build_output': '/gnu/store/testbuildoutput',
+ 'build_output' => '/gnu/store/testbuildoutput'
}
)
end
- test "type_and_id" do
+ test 'type_and_id' do
@backend.type_and_id
end
- test "build" do
+ test 'build' do
GovukGuix::BuildJob.expects(:enqueue)
@backend.build(@mini_environment)
end
- test "start" do
+ test 'start' do
RubyTerraform.stubs(:init)
RubyTerraform.expects(:apply)
@backend.start(@mini_environment)
end
- test "destroy" do
+ test 'destroy' do
RubyTerraform.stubs(:init)
RubyTerraform.expects(:destroy)
@backend.destroy(@mini_environment)
end
- test "signon_url" do
+ test 'signon_url' do
@backend.signon_url(@mini_environment)
end
- test "terraform_variables" do
+ test 'terraform_variables' do
@backend.terraform_variables(@mini_environment)
end
end
diff --git a/test/models/backends/terraform_libvirt_test.rb b/test/models/backends/terraform_libvirt_test.rb
index e509b03..1f19a29 100644
--- a/test/models/backends/terraform_libvirt_test.rb
+++ b/test/models/backends/terraform_libvirt_test.rb
@@ -7,40 +7,40 @@ class Backends::TerraformLibvirtTest < ActiveSupport::TestCase
id: 1,
name: 'Test Mini Environment',
backend_data: {
- 'build_output': '/gnu/store/testbuildoutput',
+ 'build_output' => '/gnu/store/testbuildoutput'
}
)
end
- test "type_and_id" do
+ test 'type_and_id' do
@backend.type_and_id
end
- test "build" do
+ test 'build' do
GovukGuix::BuildJob.expects(:enqueue)
@backend.build(@mini_environment)
end
- test "start" do
+ test 'start' do
RubyTerraform.stubs(:init)
RubyTerraform.expects(:apply)
@backend.start(@mini_environment)
end
- test "destroy" do
+ test 'destroy' do
RubyTerraform.stubs(:init)
RubyTerraform.expects(:destroy)
@backend.destroy(@mini_environment)
end
- test "signon_url" do
+ test 'signon_url' do
@backend.signon_url(@mini_environment)
end
- test "terraform_variables" do
+ test 'terraform_variables' do
@backend.terraform_variables(@mini_environment)
end
end