##// END OF EJS Templates
Don't clear plugins in tests (#16258)....
Jean-Philippe Lang -
r12712:913c8cd2e649
parent child
Show More
@@ -103,11 +103,12 class AdminControllerTest < ActionController::TestCase
103 end
103 end
104
104
105 def test_no_plugins
105 def test_no_plugins
106 Redmine::Plugin.clear
106 Redmine::Plugin.stubs(:registered_plugins).returns({})
107
107
108 get :plugins
108 get :plugins
109 assert_response :success
109 assert_response :success
110 assert_template 'plugins'
110 assert_template 'plugins'
111 assert_equal [], assigns(:plugins)
111 end
112 end
112
113
113 def test_plugins
114 def test_plugins
General Comments 0
You need to be logged in to leave comments. Login now