From ee1d5e84bc1f8bb5e7e6717fefadb671f8cb9385 Mon Sep 17 00:00:00 2001 From: Yuya Kusakabe Date: Thu, 17 May 2018 15:39:37 +0900 Subject: Add host-name and domain-name tests --- spec/one_node/vyos_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'spec/one_node/vyos_spec.rb') diff --git a/spec/one_node/vyos_spec.rb b/spec/one_node/vyos_spec.rb index fca7fe7..ce60a6b 100644 --- a/spec/one_node/vyos_spec.rb +++ b/spec/one_node/vyos_spec.rb @@ -4,3 +4,11 @@ require_relative '../config_spec' describe 'vyos_config' do include_examples 'config_spec' end + +describe host_inventory['hostname'] do + it { should eq 'router' } +end + +describe host_inventory['domain'] do + it { should eq 'example.com' } +end -- cgit v1.2.3