Sha256: 0718c8ff5da01a0476abf7f623be5474c8d43f683dea4d7be5e19212ae5c14bc
Contents?: true
Size: 447 Bytes
Versions: 11
Compression:
Stored size: 447 Bytes
Contents
require 'test_helper' require 'support/validation_helper' require 'chef/knife/solo_clean' class SoloCleanTest < TestCase include ValidationHelper::ValidationTests def test_removes_provision_path cmd = command('somehost', '--provisioning-path=/foo/bar') cmd.expects(:run_command).with('rm -rf /foo/bar').returns(SuccessfulResult.new) cmd.run end def command(*args) knife_command(Chef::Knife::SoloClean, *args) end end
Version data entries
11 entries across 11 versions & 1 rubygems