test/institutions_test.rb in institutions-0.0.2 vs test/institutions_test.rb in institutions-0.0.3
- old
+ new
@@ -31,6 +31,12 @@
Institutions.filenames << "overwrite.yml"
institutions = Institutions.institutions
assert_equal "ns", institutions[:NS].views["dir"]
assert_equal "ns tag", institutions[:NS].views["tag"]
end
+
+ def test_institutions_parents
+ Institutions.loadpaths << File.join("test", "config")
+ institutions = Institutions.institutions
+ assert_equal "NYU Libraries", institutions[:NYU].name
+ end
end