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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/spec/validator_spec.rb b/tests/spec/validator_spec.rb
index ba38563..971b91d 100644
--- a/tests/spec/validator_spec.rb
+++ b/tests/spec/validator_spec.rb
@@ -11,11 +11,11 @@ RSpec.describe 'HorizonScript validation', :type => :aruba do
context "Utility argument passing" do
it "requires an installfile to be specified" do
run_command 'hscript-validate'
- expect(last_command_started).to have_output(/usage/)
+ expect(last_command_started).to have_output(/Allowed options/)
end
it "accepts -i flag" do
run_command 'hscript-validate foo -i'
- expect(last_command_started).to_not have_output(/usage/)
+ expect(last_command_started).to_not have_output(/Allowed options/)
end
it "doesn't output ANSI colours when instructed not to" do
run_command 'hscript-validate foo -n'