rbenv-ruby-build/test
Jason Karns 21494ba359 Remove suite-wide setup
Bats doesn't support both suite-wide setup (in helper) *and* file-wide
setup. Which means the existance of any file-level setup() function
overwrites any setup() function from test_helper. This can be confusing,
and (IMO) easier to simply avoid the overwriting and remove any
_implied_ suite-wide setup function from test_helper.

This turns out to not be so bad for the recently added setup function,
because the only test files that actually need aria2c removed from PATH
are those that actually invoke curl. These can be found because they are
the only test files that stub curl; half of which already had
file-specific setup() functions. So the only ones which need a
file-local setup() function added were: checksum.bats and mirror.bats

Along these lines, rbenv.bats and hooks.bats were removing aria2c from
PATH but don't actually need to. (curl isn't stubbed in these tests so
the existance of aria2c wouldn't affect the tests)

Lastly, fixed a tab/spaces whitespace mixup that was introduced by:
750c086d11
2016-08-13 15:53:04 -04:00
..
fixtures Unknown checksum algorithms (based on length) are errors 2016-01-18 23:27:01 -05:00
stubs Fix stubbing programs that have dashes in them 2014-01-05 18:58:57 +01:00
tmp Ensure test/tmp directory exists 2012-11-19 19:25:52 -06:00
arguments.bats Fix typo in test/arguments.bats (s/enought/enough/) 2015-07-17 23:50:18 -07:00
build.bats Use curl stub during tests by default 2016-06-10 05:11:26 +00:00
cache.bats Use curl stub during tests by default 2016-06-10 05:11:26 +00:00
checksum.bats Remove suite-wide setup 2016-08-13 15:53:04 -04:00
compiler.bats Ignore RUBY_CONFIGURE_OPTS from environment in testing 2014-11-16 16:07:39 -08:00
definitions.bats Add refute test helper 2016-01-20 10:43:46 -05:00
fetch.bats Prevent loading user's aria2.conf (yyuu/pyenv#625) 2016-06-22 00:37:56 +00:00
hooks.bats Remove suite-wide setup 2016-08-13 15:53:04 -04:00
installer.bats Fix test to compensate for different ls output on Fedora/Centos 2014-09-09 00:03:18 -07:00
mirror.bats Remove suite-wide setup 2016-08-13 15:53:04 -04:00
rbenv.bats Remove suite-wide setup 2016-08-13 15:53:04 -04:00
test_helper.bash Remove suite-wide setup 2016-08-13 15:53:04 -04:00
version.bats update urls to rbenv 2015-12-07 14:17:04 -08:00