Fixes random test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3707 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-04-30 11:27:08 +00:00
parent a4e411c643
commit 554c047d80
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ class MailerTest < ActiveSupport::TestCase
end
def test_account_information
user = User.find(:first)
user = User.find(2)
valid_languages.each do |lang|
user.update_attribute :language, lang.to_s
user.reload