spec/support/mock_setup_file.rb in invoker-1.2.0 vs spec/support/mock_setup_file.rb in invoker-1.3.0
- old
+ new
@@ -28,10 +28,10 @@
safe_make_directory("/tmp/.invoker")
safe_remove_file(Invoker::Power::Config.config_file)
end
def restore_invoker_config
- safe_remove_file(Invoker::Power::Config.config_file)
+ safe_remove_file("/tmp/.invoker/config")
end
def restore_osx_resolver_setup
safe_remove_file(Invoker::Power::OsxSetup::RESOLVER_FILE)
FileUtils.rm_rf(Invoker::Power::OsxSetup::RESOLVER_DIR)