mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 09:10:12 +01:00
typo fix
This commit is contained in:
parent
429a22778c
commit
04d5e764b2
2 changed files with 6 additions and 2 deletions
|
|
@ -57,7 +57,11 @@ class PreferencesControllerTest < ActionController::TestCase
|
|||
:prefs => { :date_format => "%m-%d-%Y", :week_starts => "0", :show_number_completed => "10", :show_completed_projects_in_sidebar => "false", :show_hidden_contexts_in_sidebar => "false", :staleness_starts => "14", :due_style => "1" }}
|
||||
|
||||
updated_admin_user = users(:admin_user).reload
|
||||
assert_equal old_password_hash, updated_admin_user.password
|
||||
if old_password_hash.nil?
|
||||
assert_nil updated_admin_user.password
|
||||
else
|
||||
assert_equal old_password_hash, updated_admin_user.password
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue