diff options
Diffstat (limited to 'spec/site_to_site_vpn/vyos2_spec.rb')
-rw-r--r-- | spec/site_to_site_vpn/vyos2_spec.rb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/spec/site_to_site_vpn/vyos2_spec.rb b/spec/site_to_site_vpn/vyos2_spec.rb index 23a0a57..76740d4 100644 --- a/spec/site_to_site_vpn/vyos2_spec.rb +++ b/spec/site_to_site_vpn/vyos2_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/vyos2_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 |