test/test_swot.rb in swot-0.2.10 vs test/test_swot.rb in swot-0.2.11
- old
+ new
@@ -45,6 +45,11 @@
end
should "returns name of valid institution" do
assert_equal Swot::get_institution_name('lreilly@cs.strath.ac.uk'), "University of Strathclyde"
end
+
+ should "test aliased methods" do
+ assert_equal Swot::academic?('stanford.edu'), true
+ assert_equal Swot::school_name('lreilly@cs.strath.ac.uk'), "University of Strathclyde"
+ end
end