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:
Jean-Philippe Lang
2007-11-08 19:14:34 +00:00
parent fa95501fe5
commit 1454a711ca
3 changed files with 11 additions and 4 deletions

View File

@@ -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