sorry my emacs muscle memory triggered the premature sending of that message
how can i add frequently used variables to a minitest test case? also how can I clean up after a test?
not having much success with add_setup_hook and add_teardown_hook
here is what I am trying to do
class TestArkDump < MiniTest::Chef::TestCase
self.add_setup_hook {
@path = '/some/long/path/really/long'
}
# use @path multiple times
self.add_teardown_hook {
require 'fileutils'
FileUtils.rm_r @path
}
end