summaryrefslogtreecommitdiff
path: root/spec/site_to_site_vpn
diff options
context:
space:
mode:
authorYuya Kusakabe <yuya.kusakabe@gmail.com>2017-08-02 23:23:12 +0900
committerYuya Kusakabe <yuya.kusakabe@gmail.com>2017-08-02 23:23:12 +0900
commitb9775945bbd1d45fa63dd74ebf7c566cce49b901 (patch)
treeab3d76902433cdea64db959ca3bc0e34ddf32767 /spec/site_to_site_vpn
parent5b101547b3c0c7d7f78d8a6a15ecee361b2349d4 (diff)
downloadvyos-integration-test-b9775945bbd1d45fa63dd74ebf7c566cce49b901.tar.gz
vyos-integration-test-b9775945bbd1d45fa63dd74ebf7c566cce49b901.zip
Use include_examples for config_spec
Diffstat (limited to 'spec/site_to_site_vpn')
-rw-r--r--spec/site_to_site_vpn/vyos1_spec.rb4
-rw-r--r--spec/site_to_site_vpn/vyos2_spec.rb4
-rw-r--r--spec/site_to_site_vpn/vyos3_spec.rb4
-rw-r--r--spec/site_to_site_vpn/vyos4_spec.rb4
4 files changed, 12 insertions, 4 deletions
diff --git a/spec/site_to_site_vpn/vyos1_spec.rb b/spec/site_to_site_vpn/vyos1_spec.rb
index 76740d4..e46d107 100644
--- a/spec/site_to_site_vpn/vyos1_spec.rb
+++ b/spec/site_to_site_vpn/vyos1_spec.rb
@@ -1,4 +1,6 @@
require_relative '../spec_helper'
require_relative '../config_spec'
-config_spec
+describe 'vyos1_config' do
+ include_examples 'config_spec'
+end
diff --git a/spec/site_to_site_vpn/vyos2_spec.rb b/spec/site_to_site_vpn/vyos2_spec.rb
index 76740d4..2c5b45e 100644
--- a/spec/site_to_site_vpn/vyos2_spec.rb
+++ b/spec/site_to_site_vpn/vyos2_spec.rb
@@ -1,4 +1,6 @@
require_relative '../spec_helper'
require_relative '../config_spec'
-config_spec
+describe 'vyos2_config' do
+ include_examples 'config_spec'
+end
diff --git a/spec/site_to_site_vpn/vyos3_spec.rb b/spec/site_to_site_vpn/vyos3_spec.rb
index 6f67d61..cfabd10 100644
--- a/spec/site_to_site_vpn/vyos3_spec.rb
+++ b/spec/site_to_site_vpn/vyos3_spec.rb
@@ -1,7 +1,9 @@
require_relative '../spec_helper'
require_relative '../config_spec'
-config_spec
+describe 'vyos3_config' do
+ include_examples 'config_spec'
+end
describe host('10.0.3.14') do
it { should be_reachable }
diff --git a/spec/site_to_site_vpn/vyos4_spec.rb b/spec/site_to_site_vpn/vyos4_spec.rb
index b657b9e..e9937a4 100644
--- a/spec/site_to_site_vpn/vyos4_spec.rb
+++ b/spec/site_to_site_vpn/vyos4_spec.rb
@@ -1,7 +1,9 @@
require_relative '../spec_helper'
require_relative '../config_spec'
-config_spec
+describe 'vyos4_config' do
+ include_examples 'config_spec'
+end
describe host('10.0.2.13') do
it { should be_reachable }