Add table header in Plugins page (#37692).

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21879 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2022-10-01 06:54:27 +00:00
parent ca516e8c25
commit 5b0e4a8e2d
2 changed files with 12 additions and 0 deletions

View File

@@ -156,6 +156,10 @@ class AdminControllerTest < Redmine::ControllerTest
get :plugins
assert_response :success
assert_select 'th:nth-of-type(1)', :text => 'Name / Description'
assert_select 'th:nth-of-type(2)', :text => 'Author'
assert_select 'th:nth-of-type(3)', :text => 'Version'
assert_select 'tr#plugin-foo' do
assert_select 'td span.name', :text => 'Foo plugin'
assert_select 'td.configure a[href="/settings/plugin/foo"]'