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:
Jean-Philippe Lang 2014-02-09 16:34:41 +00:00
parent ff46e9d0a4
commit 83dae30140
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ class MailerTest < ActiveSupport::TestCase
def test_news_added_should_notify_project_news_watchers
user1 = User.generate!
user2 = User.generate!
news = News.first
news = News.find(1)
news.project.enabled_module('news').add_watcher(user1)
Mailer.news_added(news).deliver