Roland Walker
2d8e90eb32
rename rest-client.rb
...
to `wiztoolsorg-restclient.rb`, per naming rules in `CONTRIBUTING.md`.
This requires making changes to the test suite, as the tests used this
cask. Imported special test Casks for the relevant test no longer has
a dependency on real Casks.
2014-02-25 09:13:54 -05:00
Roland Walker
3b5871db8d
Ruby 1.8.7-compat way to undef test classes
...
add cleanup after each definition
2014-02-13 09:21:47 -05:00
Roland Walker
a530a9005c
enforce: certain DSL elements may appear only 1x
...
add CaskInvalidError exception, which ought to be used in
several other places as well
2014-02-04 08:27:12 -05:00
Roland Walker
da67069aa7
rename cocoa-rest-client.rb
...
to cocoarestclient.rb
per naming rules in CONTRIBUTING.md
2014-01-27 08:42:29 -05:00
Roland Walker
61a09e9af8
fix test cruft introduced by #2304
2014-01-04 13:16:16 -05:00
phinze
58ac54ed29
use exact matching when loading a cask
...
fixes issue where casks with names that were a strict prefix of other
casks would always shadow them.
refs #1035
2013-11-05 21:07:52 -06:00
Shane Delmore
f5d1ccb76b
Fixed uri in test case
2013-07-30 14:07:11 -07:00
Shane Delmore
c28a444bc4
Fixing test file url
2013-07-27 15:08:51 -07:00
Shane Delmore
583559d84e
Issue #6 . Adding load from url feature.
2013-07-26 11:54:40 -07:00
Shane Delmore
489dfa49b2
Adding absolute cask location test
2013-07-17 10:10:03 -07:00
Shane Delmore
429eb80cbe
Adding support for local casks outside of the casks directory
2013-07-16 15:12:16 -07:00
phinze
7bc2db2979
build fixes
2013-04-07 12:46:35 -05:00
phinze
f1221be6c2
double gsub to properly get title for BootXChange
...
thanks to @passcod for this
2012-12-17 17:00:35 -07:00
phinze
c8621c92c1
remove mock-filled test for Cask.init
2012-11-25 15:49:16 -06:00
phinze
e2d074e216
separate Cask.all_titles from Cask.all
2012-11-18 23:11:22 -06:00
phinze
ab57da07ea
add brew cask uninstall
...
this delegates to homebrew's uninstall to get its work done. vanilla
`brew uninstall` actually works, but this gives us a more consistent
interface.
as discussed in #47
2012-10-20 13:01:41 -05:00
phinze
c40dc63737
fix typo in Cask.init :(
...
💩 this is what i get for doing things outside of test coverage
added a smoke test this time
2012-10-15 19:25:35 -05:00
phinze
1a7e278935
a bona fide cask install test; and more splitting
...
I chose Caffeine since it's relatively small to download. Eventually I'd
like to switch this up so we bundle a dmg, zip, etc that the test suite
wires in to verify that we do the Right Thing (tm) with all those file
types. Probably will want to support `file://` URLs in Casks to help us
for that use case.
2012-10-13 16:48:25 -05:00
phinze
f35cda322c
add test coverage and start to split up cask.rb
...
ahhhhh the joys of refactoring under test coverage
2012-10-13 16:17:52 -05:00
phinze
cd70474aa9
moving back from spec/ -> test/
...
since various tooling keeps guessing we're using rspec
2012-10-13 15:24:45 -05:00