Add specs for user changing table

This commit is contained in:
2013-12-26 09:30:57 +01:00
parent 50a95fa6fb
commit c6f0976d11
7 changed files with 94 additions and 4 deletions
+5
View File
@@ -59,6 +59,11 @@ class User
active_list_id.present?
end
# only used for testing so far
def active_list
has_active_list? ? List.find(active_list_id) : nil
end
#####################################
# Taken from devise 2.2
#####################################