[#263] Fix theme tests that changed singleton data
This commit is contained in:
parent
5620488727
commit
a911d83889
|
@ -13,7 +13,10 @@
|
||||||
require File.expand_path('../../../../test_helper', __FILE__)
|
require File.expand_path('../../../../test_helper', __FILE__)
|
||||||
|
|
||||||
class Redmine::ThemesTest < ActiveSupport::TestCase
|
class Redmine::ThemesTest < ActiveSupport::TestCase
|
||||||
|
def setup
|
||||||
|
Redmine::Themes.rescan
|
||||||
|
end
|
||||||
|
|
||||||
def test_themes
|
def test_themes
|
||||||
themes = Redmine::Themes.themes
|
themes = Redmine::Themes.themes
|
||||||
assert_kind_of Array, themes
|
assert_kind_of Array, themes
|
||||||
|
|
Loading…
Reference in New Issue