homebrew-cask-versions/test/cask/cli
Paul Hinze 5bbba24bf9 cli: [refactor] rename outdated option internally
The `Hbc.outdated` boolean was in the way of my implementation of an
`outdated` scope for `brew cask outdated`, so I took the opportunity to:

 * rename the flag internally to `cleanup_outdated`
 * move the cleanup tests over to rspec and rework them to test in a
   stubbed cleanroom environment
 * refactor the implementation of cleanup to make it a bit more
   testable - most importantly: inject the cache location and outdated
   config dependencies instead of looking them up from constants

Note that there's no change to the user-facing interface, it's still

```
brew cask cleanup --outdated
```
2015-02-07 18:06:51 -06:00
..
audit_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
cat_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
create_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
edit_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
fetch_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
home_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
info_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
install_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
list_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
options_test.rb Removed support for widgets 2015-01-08 19:51:15 +00:00
search_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
uninstall_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
version_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00
zap_test.rb Move all code under an Hbc:: namespace 2015-01-02 07:27:03 -05:00