summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-16 11:58:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-16 11:58:41 +0000
commit94b5bbcb5d225ec1bfe29e6aa4e8b8eb7d137abf (patch)
tree842236ce27c25d86a28ae2abef080eaee2ad835c /test
parent9c09fd20fbd361aecab26be7d5187afd35a4f657 (diff)
downloadredmine-94b5bbcb5d225ec1bfe29e6aa4e8b8eb7d137abf.tar.gz
redmine-94b5bbcb5d225ec1bfe29e6aa4e8b8eb7d137abf.zip
Moves plugin list to its own administration menu item.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2037 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/admin_controller_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/admin_controller_test.rb b/test/functional/admin_controller_test.rb
index 7c2626082..9cb2d07f0 100644
--- a/test/functional/admin_controller_test.rb
+++ b/test/functional/admin_controller_test.rb
@@ -78,6 +78,12 @@ class AdminControllerTest < Test::Unit::TestCase
user = User.find(1)
assert_equal [user.mail], mail.bcc
end
+
+ def test_plugins
+ get :plugins
+ assert_response :success
+ assert_template 'plugins'
+ end
def test_info
get :info
@@ -85,6 +91,8 @@ class AdminControllerTest < Test::Unit::TestCase
assert_template 'info'
end
+ private
+
def delete_configuration_data
Role.delete_all('builtin = 0')
Tracker.delete_all