1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-10 17:41:31 +00:00

Make sure that themes are reloaded after test.

git-svn-id: http://svn.redmine.org/redmine/trunk@13777 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-12-20 14:33:17 +00:00
parent c32d75a697
commit b1d2312dbf

View File

@ -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