summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-23 19:13:03 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-23 19:13:03 -0500
commitba41e758a786158c695229faa1068c06717bf79f (patch)
tree7de894d45dd3da3539c70e5ae76c4b810663c678 /tests
parenta0f9b88d4bacad9df4bb10f7a68bfc310bbcf4b1 (diff)
downloadhorizon-ba41e758a786158c695229faa1068c06717bf79f.tar.gz
horizon-ba41e758a786158c695229faa1068c06717bf79f.tar.bz2
horizon-ba41e758a786158c695229faa1068c06717bf79f.tar.xz
horizon-ba41e758a786158c695229faa1068c06717bf79f.zip
Change Runner.Validate.hostname.Begin to allow numeric characters
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/validator_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/spec/validator_spec.rb b/tests/spec/validator_spec.rb
index 0bd3516..a5e11e6 100644
--- a/tests/spec/validator_spec.rb
+++ b/tests/spec/validator_spec.rb
@@ -136,7 +136,8 @@ RSpec.describe 'HorizonScript validation', :type => :aruba do
it "with non-alphabetical first character" do
use_fixture '0024-numeric-hostname.installfile'
run_validate
- expect(last_command_started).to have_output(/error: .*hostname.*/)
+ expect(last_command_started).to have_output(PARSER_SUCCESS)
+ expect(last_command_started).to have_output(VALIDATOR_SUCCESS)
end
# Runner.Validate.hostname.Length
it "with >320 characters" do