From 29362d8af4698133e67a80398e14ce354ffbbcb0 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Thu, 18 Jul 2019 03:36:50 +0200 Subject: [PATCH] alpine: Wire up tests --- .../cap/{change_host_name_spec.rb => change_host_name_test.rb} | 3 +-- .../{configure_networks_spec.rb => configure_networks_test.rb} | 3 +-- .../plugins/guests/alpine/cap/{halt_spec.rb => halt_test.rb} | 3 +-- .../alpine/cap/{nfs_client_spec.rb => nfs_client_test.rb} | 3 +-- .../plugins/guests/alpine/cap/{rsync_spec.rb => rsync_test.rb} | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) rename test/unit/plugins/guests/alpine/cap/{change_host_name_spec.rb => change_host_name_test.rb} (99%) rename test/unit/plugins/guests/alpine/cap/{configure_networks_spec.rb => configure_networks_test.rb} (98%) rename test/unit/plugins/guests/alpine/cap/{halt_spec.rb => halt_test.rb} (94%) rename test/unit/plugins/guests/alpine/cap/{nfs_client_spec.rb => nfs_client_test.rb} (98%) rename test/unit/plugins/guests/alpine/cap/{rsync_spec.rb => rsync_test.rb} (97%) diff --git a/test/unit/plugins/guests/alpine/cap/change_host_name_spec.rb b/test/unit/plugins/guests/alpine/cap/change_host_name_test.rb similarity index 99% rename from test/unit/plugins/guests/alpine/cap/change_host_name_spec.rb rename to test/unit/plugins/guests/alpine/cap/change_host_name_test.rb index 180045e6a..3f159ad75 100644 --- a/test/unit/plugins/guests/alpine/cap/change_host_name_spec.rb +++ b/test/unit/plugins/guests/alpine/cap/change_host_name_test.rb @@ -1,5 +1,4 @@ - -require 'spec_helper' +require_relative "../../../../base" describe 'VagrantPlugins::GuestAlpine::Cap::ChangeHostname' do let(:described_class) do diff --git a/test/unit/plugins/guests/alpine/cap/configure_networks_spec.rb b/test/unit/plugins/guests/alpine/cap/configure_networks_test.rb similarity index 98% rename from test/unit/plugins/guests/alpine/cap/configure_networks_spec.rb rename to test/unit/plugins/guests/alpine/cap/configure_networks_test.rb index f74d75af8..31a361beb 100644 --- a/test/unit/plugins/guests/alpine/cap/configure_networks_spec.rb +++ b/test/unit/plugins/guests/alpine/cap/configure_networks_test.rb @@ -1,5 +1,4 @@ - -require 'spec_helper' +require_relative "../../../../base" describe 'VagrantPlugins::GuestAlpine::Cap::ConfigureNetworks' do let(:described_class) do diff --git a/test/unit/plugins/guests/alpine/cap/halt_spec.rb b/test/unit/plugins/guests/alpine/cap/halt_test.rb similarity index 94% rename from test/unit/plugins/guests/alpine/cap/halt_spec.rb rename to test/unit/plugins/guests/alpine/cap/halt_test.rb index 2df8ed96e..e10c7dc99 100644 --- a/test/unit/plugins/guests/alpine/cap/halt_spec.rb +++ b/test/unit/plugins/guests/alpine/cap/halt_test.rb @@ -1,5 +1,4 @@ - -require 'spec_helper' +require_relative "../../../../base" describe 'VagrantPlugins::GuestAlpine::Cap::Halt' do let(:described_class) do diff --git a/test/unit/plugins/guests/alpine/cap/nfs_client_spec.rb b/test/unit/plugins/guests/alpine/cap/nfs_client_test.rb similarity index 98% rename from test/unit/plugins/guests/alpine/cap/nfs_client_spec.rb rename to test/unit/plugins/guests/alpine/cap/nfs_client_test.rb index e9c88658d..11a03ed9b 100644 --- a/test/unit/plugins/guests/alpine/cap/nfs_client_spec.rb +++ b/test/unit/plugins/guests/alpine/cap/nfs_client_test.rb @@ -1,5 +1,4 @@ - -require 'spec_helper' +require_relative "../../../../base" describe 'VagrantPlugins::GuestAlpine::Cap::NFSClient' do let(:described_class) do diff --git a/test/unit/plugins/guests/alpine/cap/rsync_spec.rb b/test/unit/plugins/guests/alpine/cap/rsync_test.rb similarity index 97% rename from test/unit/plugins/guests/alpine/cap/rsync_spec.rb rename to test/unit/plugins/guests/alpine/cap/rsync_test.rb index 59d066cea..6b305a5f9 100644 --- a/test/unit/plugins/guests/alpine/cap/rsync_spec.rb +++ b/test/unit/plugins/guests/alpine/cap/rsync_test.rb @@ -1,5 +1,4 @@ - -require 'spec_helper' +require_relative "../../../../base" describe 'VagrantPlugins::GuestAlpine::Cap::RSync' do let(:machine) { double('machine') }