summaryrefslogtreecommitdiff
path: root/spec/site_to_site_vpn/vyos1_spec.rb
diff options
context:
space:
mode:
authorYuya Kusakabe <yuya.kusakabe@gmail.com>2017-01-12 11:42:40 +0900
committerYuya Kusakabe <yuya.kusakabe@gmail.com>2017-01-12 11:42:40 +0900
commit83ddb9a56782a0fa97236289ab9db0e36699bc84 (patch)
treedcc24ef4cd55039f4e638b1a0bbed9e7bc57467a /spec/site_to_site_vpn/vyos1_spec.rb
parent79060076f217eebf8f8e5f829bd035b47adef06a (diff)
downloadvyos-integration-test-83ddb9a56782a0fa97236289ab9db0e36699bc84.tar.gz
vyos-integration-test-83ddb9a56782a0fa97236289ab9db0e36699bc84.zip
Refactor
Diffstat (limited to 'spec/site_to_site_vpn/vyos1_spec.rb')
-rw-r--r--spec/site_to_site_vpn/vyos1_spec.rb12
1 files changed, 2 insertions, 10 deletions
diff --git a/spec/site_to_site_vpn/vyos1_spec.rb b/spec/site_to_site_vpn/vyos1_spec.rb
index 6506d93..76740d4 100644
--- a/spec/site_to_site_vpn/vyos1_spec.rb
+++ b/spec/site_to_site_vpn/vyos1_spec.rb
@@ -1,12 +1,4 @@
require_relative '../spec_helper'
-require 'serverspec_vyos_config'
+require_relative '../config_spec'
-File.open('spec/site_to_site_vpn/vyos1_script.sh') do |file|
- file.each_line do |l|
- if l.start_with?("set")
- describe vyos_config(l.gsub(/set /, '')) do
- it { should be_exists }
- end
- end
- end
-end
+config_spec