summaryrefslogtreecommitdiff
path: root/tests/spec/validator_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/validator_spec.rb')
-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