summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-20 14:33:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-20 14:33:17 +0000
commitb1d2312dbf45fb2c73bdf4668b0f2a0fb6b89296 (patch)
tree92baa876f2940401f3e7b199ec8a08e63cd8285d /test
parentc32d75a697b39657b31292b68929f764c155aac1 (diff)
downloadredmine-b1d2312dbf45fb2c73bdf4668b0f2a0fb6b89296.tar.gz
redmine-b1d2312dbf45fb2c73bdf4668b0f2a0fb6b89296.zip
Make sure that themes are reloaded after test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13777 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/themes_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/lib/redmine/themes_test.rb b/test/unit/lib/redmine/themes_test.rb
index 8e647dcde..bd5ff3a42 100644
--- a/test/unit/lib/redmine/themes_test.rb
+++ b/test/unit/lib/redmine/themes_test.rb
@@ -55,5 +55,7 @@ class Redmine::ThemesTest < ActiveSupport::TestCase
theme = Redmine::Themes.themes.pop
assert_nil Redmine::Themes.theme(theme.id, :rescan => false)
+ ensure
+ Redmine::Themes.rescan
end
end