summaryrefslogtreecommitdiff
path: root/lib/rubygems/test_case.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/test_case.rb24
1 files changed, 24 insertions, 0 deletions
@@ -115,6 +115,23 @@ class Gem::TestCase < MiniTest::Unit::TestCase
assert File.exist?(path), msg
end
# TODO: move to minitest
def refute_path_exists path, msg = nil
msg = message(msg) { "Expected path '#{path}' to not exist" }
@@ -1249,10 +1266,17 @@ Also, a list:
class StaticSet
##
# Creates a new StaticSet for the given +specs+
def initialize(specs)
@specs = specs
end
##