Closed frdmn closed 9 years ago
respond_to
is a way of mocking actions performed by bake
, so that the commands aren't run on the system proper. What it's doing in that case is looking for bake to call brew cask
and then effectively it just evals return 1
, indicating that cask is not installed.
I'm not sure why this is failing, given the changes, but I'll try to look at it tonight.
Thanks
It wasn't a problem with your code, but rather a problem with bake and redirection. I rebased your branch against the latest master and the test passes now. Will merge shortly. Thanks!
@mattly I think i don't really understand the cask bats test case. Figured out the failing test is:
But what happens here?