From 982e9239b8ba2c2a49ccedec2a108a4580047bcb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 18 Jun 2014 20:32:51 -0500 Subject: Use a custom test class so we can avoid monkeypatching --- Library/Homebrew/test/test_software_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library/Homebrew/test/test_software_spec.rb') diff --git a/Library/Homebrew/test/test_software_spec.rb b/Library/Homebrew/test/test_software_spec.rb index 893e4ad9a..11b4ed11e 100644 --- a/Library/Homebrew/test/test_software_spec.rb +++ b/Library/Homebrew/test/test_software_spec.rb @@ -1,7 +1,7 @@ require 'testing_env' require 'software_spec' -class SoftwareSpecTests < Test::Unit::TestCase +class SoftwareSpecTests < Homebrew::TestCase include VersionAssertions def setup @@ -87,7 +87,7 @@ class SoftwareSpecTests < Test::Unit::TestCase end end -class HeadSoftwareSpecTests < Test::Unit::TestCase +class HeadSoftwareSpecTests < Homebrew::TestCase include VersionAssertions def setup @@ -103,7 +103,7 @@ class HeadSoftwareSpecTests < Test::Unit::TestCase end end -class BottleSpecificationTests < Test::Unit::TestCase +class BottleSpecificationTests < Homebrew::TestCase def setup @spec = BottleSpecification.new end -- cgit v1.2.3