Actualizar plugin Additionals a 3.0.0
This commit is contained in:
parent
3d976f1b3b
commit
a26f5567af
399 changed files with 70374 additions and 4093 deletions
|
@ -1,4 +1,4 @@
|
|||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require File.expand_path '../../test_helper', __FILE__
|
||||
|
||||
class RoutingTest < Redmine::RoutingTest
|
||||
def test_issue_assign_to_me
|
||||
|
@ -8,4 +8,30 @@ class RoutingTest < Redmine::RoutingTest
|
|||
def test_issue_change_status
|
||||
should_route 'PUT /issues/1/change_status' => 'additionals_change_status#update', issue_id: '1'
|
||||
end
|
||||
|
||||
def test_help_macro
|
||||
should_route 'GET /help/macros' => 'additionals_macros#show'
|
||||
end
|
||||
|
||||
def test_auto_completes
|
||||
should_route 'GET /auto_completes/fontawesome' => 'auto_completes#fontawesome'
|
||||
should_route 'GET /auto_completes/issue_assignee' => 'auto_completes#issue_assignee'
|
||||
end
|
||||
|
||||
def test_dashboards
|
||||
should_route 'GET /dashboards.xml' => 'dashboards#index', format: 'xml'
|
||||
should_route 'GET /dashboards.json' => 'dashboards#index', format: 'json'
|
||||
|
||||
should_route 'GET /dashboards/1.xml' => 'dashboards#show', id: '1', format: 'xml'
|
||||
should_route 'GET /dashboards/1.json' => 'dashboards#show', id: '1', format: 'json'
|
||||
should_route 'GET /dashboards/1/edit' => 'dashboards#edit', id: '1'
|
||||
|
||||
should_route 'GET /projects/foo/dashboards.xml' => 'dashboards#index', project_id: 'foo', format: 'xml'
|
||||
should_route 'GET /projects/foo/dashboards.json' => 'dashboards#index', project_id: 'foo', format: 'json'
|
||||
end
|
||||
|
||||
def test_dashboard_async_blocks
|
||||
should_route 'GET /dashboard_async_blocks' => 'dashboard_async_blocks#show'
|
||||
should_route 'GET /projects/foo/dashboard_async_blocks' => 'dashboard_async_blocks#show', project_id: 'foo'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue