Commit graph

6 commits

Author SHA1 Message Date
Mislav Marohnić
a559b30fd8
Improve cached_tarball test helper
- Now only generates a `configure` script if explicitly specified
- Add ability to add arbitrary files to the tarball
- Cache most common tarballs in fixtures directory to speed up tests
2023-10-17 12:40:17 +02:00
Reed Loden
058917cd1c Fix typo in test/arguments.bats (s/enought/enough/) 2015-07-17 23:50:18 -07:00
Mislav Marohnić
96d9cbe77c Move rbenv-install/uninstall tests to rbenv.bats 2014-11-26 20:46:44 -08:00
Mislav Marohnić
3ae43a44e2 Capitalize "Usage:" header for consistency with rbenv help system 2014-11-26 20:46:44 -08:00
Mislav Marohnić
38ae3b56b0 Improve ruby-build test for too many arguments
Use exactly the same arguments that would have `ruby-build` succeed at
executing, but add one more extra to test argument counting.
2014-11-26 20:46:44 -08:00
Ivan Kuchin
fa38b660e2 Abort with usage help on wrong number of CLI arguments
- rbenv-install accepts 0 or 1 argument
- rbenv-uninstall accepts 1 argument
- ruby-build accepts 2 arguments
2014-11-26 20:45:53 -08:00