test/test_pkg.rb in rbbt-util-1.1.0 vs test/test_pkg.rb in rbbt-util-1.2.1
- old
+ new
@@ -17,19 +17,9 @@
extend PKGData
self.load_cfg(%w(datadir), {"datadir" => "/tmp/B"}.to_yaml)
end
-module DA
- PKG=A
- extend DataModule
-end
-
-module DB
- PKG=B
- extend DataModule
-end
-
class TestPKG < Test::Unit::TestCase
def test_datadir
assert_equal "/tmp/A", A.datadir
assert_equal "/tmp/B", B.datadir
end