…oller for easier unit testing of Clearance extensions... particularly ActiveRecord extensions... particularly strong_password.
…ilure_after_create, flash_sucess_after_update, flash_success_after_destroy, etc.
… Mustafa Ekim to list of people who have improved the library.
…ations & not have to copy over attr_accessor, attr_accessible, & callbacks.
…flash & email eubject when locales/en.yml was altered.
…ctually be tested Signed-off-by: Dan Croak <firstname.lastname@example.org>
…authentication. audited flash keys for correct use of :success, :failure, & :notice. perfer assert_match over assert_equal for email fields. removed 'successfully' from sign in flash message (redundant - signing in is clearly a success if message is 'Signed in'. removed 'You from sign out flash message (unecessary to mention the user, do not want to conflict with sites that standardize on the more psychologically appealing first person).
no dependency) approach. this will avoid dealing with the internals of current_user, such as session & cookies. added sign_in macro which signs in an email confirmed user from clearance's factories.
… signed_in? instead of what's in the session. same for accessors.