Skip to content
  1. Nov 15, 2016
  2. Nov 10, 2016
  3. Nov 09, 2016
  4. Sep 27, 2016
  5. Sep 23, 2016
  6. Sep 18, 2016
  7. Sep 16, 2016
  8. Sep 12, 2016
  9. Sep 10, 2016
  10. Sep 07, 2016
  11. Sep 01, 2016
  12. Aug 30, 2016
  13. Aug 29, 2016
  14. Aug 15, 2016
  15. Aug 13, 2016
    • Jason Karns's avatar
      Remove suite-wide setup · 21494ba3
      Jason Karns authored
      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:
      750c086d
      21494ba3
  16. Aug 12, 2016
  17. Aug 02, 2016
  18. Jul 21, 2016