diff options
| author | Jack Nagel | 2012-04-06 17:28:44 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-06 17:32:43 -0500 |
| commit | 9614301be4f2647de6a0395b125c3a2ca69e3889 (patch) | |
| tree | cbfd8e7083fe1a20f9d966bda61da83d922e4469 /Library/Homebrew/cmd | |
| parent | 04bf4e5f8977e4e7792f39da87cdf2e67f8ca03c (diff) | |
| download | brew-9614301be4f2647de6a0395b125c3a2ca69e3889.tar.bz2 | |
Fix protection against overriding Formula#brew
The test for this previously passed, but only because the constructor
for SoftwareSpecification was raising an exception. method_added needs
to be a class method because methods are being defined on the class, not
the object, and to test it properly we have to eval the class in the
test itself.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
0 files changed, 0 insertions, 0 deletions
