summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-18 23:14:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-18 23:14:48 +0000
commite3ee940745b11cf78ecde07949274bf13653a71d (patch)
treea9f36d6b34031886df011e060177a02e9d1bc6b3 /test
parentc686912de57c08937d12bda2fc20f51ec6aff59e (diff)
downloadredmine-e3ee940745b11cf78ecde07949274bf13653a71d.tar.gz
redmine-e3ee940745b11cf78ecde07949274bf13653a71d.zip
Set proper default language.
git-svn-id: http://svn.redmine.org/redmine/trunk@13914 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/wiki_content_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/wiki_content_test.rb b/test/unit/wiki_content_test.rb
index ac1c4a056..1caac239d 100644
--- a/test/unit/wiki_content_test.rb
+++ b/test/unit/wiki_content_test.rb
@@ -95,7 +95,7 @@ class WikiContentTest < ActiveSupport::TestCase
content = @page.content
content.text = "My new content"
- with_settings :notified_events => %w(wiki_content_updated) do
+ with_settings :notified_events => %w(wiki_content_updated), :default_language => 'en' do
assert content.save
end