test/institutions_test.rb in institutions-0.0.3 vs test/institutions_test.rb in institutions-0.0.4
- old
+ new
@@ -37,6 +37,12 @@
def test_institutions_parents
Institutions.loadpaths << File.join("test", "config")
institutions = Institutions.institutions
assert_equal "NYU Libraries", institutions[:NYU].name
end
+
+ def test_institutions_default_as_name
+ Institutions.loadpaths << File.join("test", "config")
+ institutions = Institutions.institutions
+ assert institutions[:default].default
+ end
end