Test failure with Postgresql+ruby1.8 (#2549).
git-svn-id: http://svn.redmine.org/redmine/trunk@12870 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ff46e9d0a4
commit
83dae30140
|
@ -470,7 +470,7 @@ class MailerTest < ActiveSupport::TestCase
|
||||||
def test_news_added_should_notify_project_news_watchers
|
def test_news_added_should_notify_project_news_watchers
|
||||||
user1 = User.generate!
|
user1 = User.generate!
|
||||||
user2 = User.generate!
|
user2 = User.generate!
|
||||||
news = News.first
|
news = News.find(1)
|
||||||
news.project.enabled_module('news').add_watcher(user1)
|
news.project.enabled_module('news').add_watcher(user1)
|
||||||
|
|
||||||
Mailer.news_added(news).deliver
|
Mailer.news_added(news).deliver
|
||||||
|
|
Loading…
Reference in New Issue