diff options
| author | Jack Nagel | 2012-04-06 17:28:44 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-06 17:32:43 -0500 |
| commit | 9d121d7ee4a8cbbd5603b82a69acb621ec46834b (patch) | |
| tree | e14231524112d3e34484d6c7bdab4221588ffbfb /Library/Formula/git.rb | |
| parent | c27a575eb6b2dfc0d662aaab2cf9d754647fbadd (diff) | |
| download | homebrew-9d121d7ee4a8cbbd5603b82a69acb621ec46834b.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/Formula/git.rb')
0 files changed, 0 insertions, 0 deletions
