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:
parent
a4e411c643
commit
554c047d80
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue