summaryrefslogtreecommitdiff
path: root/spec/bgp6
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/bgp6
parent5b101547b3c0c7d7f78d8a6a15ecee361b2349d4 (diff)
downloadvyos-integration-test-b9775945bbd1d45fa63dd74ebf7c566cce49b901.tar.gz
vyos-integration-test-b9775945bbd1d45fa63dd74ebf7c566cce49b901.zip
Use include_examples for config_spec
Diffstat (limited to 'spec/bgp6')
-rw-r--r--spec/bgp6/vyos1_spec.rb4
-rw-r--r--spec/bgp6/vyos2_spec.rb4
-rw-r--r--spec/bgp6/vyos3_spec.rb4
-rw-r--r--spec/bgp6/vyos4_spec.rb4
4 files changed, 12 insertions, 4 deletions
diff --git a/spec/bgp6/vyos1_spec.rb b/spec/bgp6/vyos1_spec.rb
index 76740d4..e46d107 100644
--- a/spec/bgp6/vyos1_spec.rb
+++ b/spec/bgp6/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/bgp6/vyos2_spec.rb b/spec/bgp6/vyos2_spec.rb
index 76740d4..2c5b45e 100644
--- a/spec/bgp6/vyos2_spec.rb
+++ b/spec/bgp6/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/bgp6/vyos3_spec.rb b/spec/bgp6/vyos3_spec.rb
index ddcbb9b..94e31a6 100644
--- a/spec/bgp6/vyos3_spec.rb
+++ b/spec/bgp6/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
# Wait for advertising
sleep(10)
diff --git a/spec/bgp6/vyos4_spec.rb b/spec/bgp6/vyos4_spec.rb
index 3f0cde7..6161b92 100644
--- a/spec/bgp6/vyos4_spec.rb
+++ b/spec/bgp6/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
# Wait for advertising
sleep(10)