summaryrefslogtreecommitdiff
path: root/spec/one_node/vyos_spec.rb
diff options
context:
space:
mode:
authorYuya Kusakabe <yuya.kusakabe@gmail.com>2018-05-17 15:39:37 +0900
committerYuya Kusakabe <yuya.kusakabe@gmail.com>2018-05-17 15:39:37 +0900
commitee1d5e84bc1f8bb5e7e6717fefadb671f8cb9385 (patch)
tree2af1fb9e2e9a5d5b9a861a2949212d5f2196e4d7 /spec/one_node/vyos_spec.rb
parent17fa6b1b227b3c46df8a344b88dfc559f2ad258a (diff)
downloadvyos-integration-test-ee1d5e84bc1f8bb5e7e6717fefadb671f8cb9385.tar.gz
vyos-integration-test-ee1d5e84bc1f8bb5e7e6717fefadb671f8cb9385.zip
Add host-name and domain-name tests
Diffstat (limited to 'spec/one_node/vyos_spec.rb')
-rw-r--r--spec/one_node/vyos_spec.rb8
1 files changed, 8 insertions, 0 deletions
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