Clear dependency cache after each test
This commit is contained in:
parent
b14ff8d163
commit
9970c97c28
@ -17,6 +17,10 @@ class DependencyCollectorTests < Test::Unit::TestCase
|
|||||||
@d = DependencyCollector.new.extend(DependencyCollectorTestExtension)
|
@d = DependencyCollector.new.extend(DependencyCollectorTestExtension)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def teardown
|
||||||
|
DependencyCollector::CACHE.clear
|
||||||
|
end
|
||||||
|
|
||||||
def test_dependency_creation
|
def test_dependency_creation
|
||||||
@d.add 'foo' => :build
|
@d.add 'foo' => :build
|
||||||
@d.add 'bar' => ['--universal', :optional]
|
@d.add 'bar' => ['--universal', :optional]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user