Sha256: ba255ae0a23c7845fd60e32f9b2e09086574244ad9b17f01037fbfe589292371
Contents?: true
Size: 625 Bytes
Versions: 5
Compression:
Stored size: 625 Bytes
Contents
require 'git_utils' require 'r10k_utils' require 'master_manipulator' test_name 'CODEMGMT-90 - C63461 - Specify Invalid Command-line Deployment Flag' #Init git_environments_path = '/root/environments' last_commit = git_last_commit(master, git_environments_path) #Verification error_message_regex = /deploy: illegal option/ #Teardown teardown do clean_up_r10k(master, last_commit, git_environments_path) end #Tests step 'Attempt to Deploy via r10k' on(master, 'r10k deploy -w environment -v', :acceptable_exit_codes => 1) do |result| assert_match(error_message_regex, result.stderr, 'Expected message not found!') end
Version data entries
5 entries across 5 versions & 1 rubygems