# Functions
EnsureBuffaloCMD installs current version of buffalo, it should be run before calling RunBuffaloCMD to ensure this is the version of buffalo that is being tested.
InstallOldBuffaloCMD installs a specific version of buffalo for integration tests.
RunBuffaloCMD is useful for integration tests where CMD would want to run a Buffalo command from the fully compiled binary.
RunWithinTempFolder runs the given function on a temporary folder and returns to the original working directory afterwards.