mirror of
https://github.com/redmine/redmine.git
synced 2025-11-04 20:35:57 +01:00
Diff style (inline or side by side) automatically saved as a user preference.
Fixed a Postgres test failure. git-svn-id: http://redmine.rubyforge.org/svn/trunk@893 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -116,10 +116,10 @@ class UserTest < Test::Unit::TestCase
|
||||
|
||||
def test_mail_notification_selected
|
||||
@jsmith.mail_notification = false
|
||||
@jsmith.notified_project_ids = [@jsmith.projects.first.id]
|
||||
@jsmith.notified_project_ids = [1]
|
||||
@jsmith.save
|
||||
@jsmith.reload
|
||||
assert @jsmith.projects.first.recipients.include?(@jsmith.mail)
|
||||
assert Project.find(1).recipients.include?(@jsmith.mail)
|
||||
end
|
||||
|
||||
def test_mail_notification_none
|
||||
|
||||
Reference in New Issue
Block a user