diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/routing/plugins_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/routing/plugins_test.rb b/test/integration/routing/plugins_test.rb index b6397de99..cc96b7fe4 100644 --- a/test/integration/routing/plugins_test.rb +++ b/test/integration/routing/plugins_test.rb @@ -73,6 +73,11 @@ class RoutingPluginsTest < Redmine::RoutingTest should_route 'GET /plugin_articles' => 'plugin_articles#index' should_route 'GET /bar_plugin_articles' => 'bar_plugin_articles#index' assert_equal("/bar_plugin_articles", plugin_articles_path) + should_route( + 'GET /attachments/plugin_articles/12/edit' => 'attachments#edit_all', + object_id: '12', + object_type: 'plugin_articles' + ) end private |