Sha256: 1db5dd7473bf8b9356fad2613d8d0abb967536ce819c18691b76a5d62d2bf1e2
Contents?: true
Size: 407 Bytes
Versions: 10
Compression:
Stored size: 407 Bytes
Contents
require 'support/kitchen_helper' module ValidationHelper module SshCommandTests include KitchenHelper def test_barks_without_atleast_a_hostname cmd = command cmd.ui.expects(:err).with(regexp_matches(/hostname.*argument/)) $stdout.stubs(:puts) in_kitchen do assert_exits cmd end end end module ValidationTests include SshCommandTests end end
Version data entries
10 entries across 10 versions & 1 rubygems