summaryrefslogtreecommitdiffstats
path: root/test/integration/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-02 18:20:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-02 18:20:17 +0000
commit7741263ab605189c7728cf79d89a150b4bf4b27b (patch)
tree4f40237e22ff635885acbc73c074171c6bd22e98 /test/integration/lib
parent27ebd8430920886c36abf163162649ee698dcca4 (diff)
downloadredmine-7741263ab605189c7728cf79d89a150b4bf4b27b.tar.gz
redmine-7741263ab605189c7728cf79d89a150b4bf4b27b.zip
ThemesTest#test_without_theme_js may fail if third-party theme is installed (#25118).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16347 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/lib')
-rw-r--r--test/integration/lib/redmine/themes_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/lib/redmine/themes_test.rb b/test/integration/lib/redmine/themes_test.rb
index 65968afcf..200c0c286 100644
--- a/test/integration/lib/redmine/themes_test.rb
+++ b/test/integration/lib/redmine/themes_test.rb
@@ -37,6 +37,8 @@ class ThemesTest < Redmine::IntegrationTest
end
def test_without_theme_js
+ # simulate a state theme.js does not exists
+ @theme.javascripts.clear
get '/'
assert_response :success