diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-28 05:35:33 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-28 05:35:33 +0000 |
commit | c0048f79544c0f3ddfc95017531aca520e938d8c (patch) | |
tree | be3be2615fa4d6f758a18cf12bf94fc07c56ac5a /test/unit/mailer_test.rb | |
parent | c3d079aeb81467a0bc2c290f22fee1a8bd046074 (diff) | |
download | redmine-c0048f79544c0f3ddfc95017531aca520e938d8c.tar.gz redmine-c0048f79544c0f3ddfc95017531aca520e938d8c.zip |
Fixed potential test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9028 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/mailer_test.rb')
-rw-r--r-- | test/unit/mailer_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb index 344e671f8..18a045713 100644 --- a/test/unit/mailer_test.rb +++ b/test/unit/mailer_test.rb @@ -401,7 +401,7 @@ class MailerTest < ActiveSupport::TestCase end def test_wiki_content_added - content = WikiContent.find(:first) + content = WikiContent.find(1) valid_languages.each do |lang| Setting.default_language = lang.to_s assert_difference 'ActionMailer::Base.deliveries.size' do @@ -411,7 +411,7 @@ class MailerTest < ActiveSupport::TestCase end def test_wiki_content_updated - content = WikiContent.find(:first) + content = WikiContent.find(1) valid_languages.each do |lang| Setting.default_language = lang.to_s assert_difference 'ActionMailer::Base.deliveries.size' do |