test/user_test.rb in authpds-0.2.4 vs test/user_test.rb in authpds-0.2.5

- old
+ new

@@ -51,9 +51,16 @@ user.primary_institution= "NYU" end assert_equal(nil, user.primary_institution) end + test "primary_institution= nil" do + user = User.new + assert_nothing_raised do + user.primary_institution= "NYU" + end + end + test "institutions" do Institutions.loadpaths<< "#{File.dirname(__FILE__)}/support/config" user = User.new assert_raise ArgumentError do user.institutions= "NYU" \ No newline at end of file