test/session_tests/config_test.rb in authlogic-1.3.8 vs test/session_tests/config_test.rb in authlogic-1.3.9

- old
+ new

@@ -100,10 +100,11 @@ session = UserSession.new assert_equal "does not exist", session.login_not_found_message end def test_login_field + UserSession.methods_configured = false UserSession.login_field = :saweet assert_equal :saweet, UserSession.login_field session = UserSession.new assert_equal :saweet, session.login_field assert session.respond_to?(:saweet) @@ -174,9 +175,10 @@ session = UserSession.new assert_equal "can not be blank", session.password_blank_message end def test_password_field + UserSession.methods_configured = false UserSession.password_field = :saweet assert_equal :saweet, UserSession.password_field session = UserSession.new assert_equal :saweet, session.password_field assert session.respond_to?(:saweet) \ No newline at end of file