summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/lib/redmine/export/text/versions_text_helper_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/export/text/versions_text_helper_test.rb b/test/unit/lib/redmine/export/text/versions_text_helper_test.rb
index 92d62a531..57c49a063 100644
--- a/test/unit/lib/redmine/export/text/versions_text_helper_test.rb
+++ b/test/unit/lib/redmine/export/text/versions_text_helper_test.rb
@@ -36,6 +36,8 @@ class VersionsTextHelperTest < ActiveSupport::TestCase
* Bug #11: Closed issue on a closed version
EXPECTED
- assert_equal expected, version_to_text(Version.find(1))
+ with_settings date_format: '%m/%d/%Y' do
+ assert_equal expected, version_to_text(Version.find(1))
+ end
end
end