From 36199bc708785688306bf6c027ea3eb0f7a4d88b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 31 Oct 2019 13:50:28 -0500 Subject: hscript: Implement stub Keymap key, add simple test --- tests/spec/validator_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/spec/validator_spec.rb') diff --git a/tests/spec/validator_spec.rb b/tests/spec/validator_spec.rb index 21def58..c4e5ac2 100644 --- a/tests/spec/validator_spec.rb +++ b/tests/spec/validator_spec.rb @@ -873,6 +873,14 @@ RSpec.describe 'HorizonScript validation', :type => :aruba do expect(last_command_started).to have_output(/error: .*lvm_lv.*volume group/) end end + context "for 'keymap' key" do + it "succeeds with a simple value" do + use_fixture '0178-keymap-basic.installfile' + run_validate + expect(last_command_started).to have_output(PARSER_SUCCESS) + expect(last_command_started).to have_output(VALIDATOR_SUCCESS) + end + end end context "unique keys" do # Runner.Validate.network. -- cgit v1.2.3-60-g2f50