diff options
author | Go MAEDA <maeda@farend.jp> | 2021-03-25 05:16:54 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-03-25 05:16:54 +0000 |
commit | 4c2e42e1c3748ca9ae3b6a7a45e77931ec8a7ce7 (patch) | |
tree | d729547dfe34925a0164b963d5109bcf63afbc74 /test/integration | |
parent | 0a9498bf300c653eac53200cd0c1fd6603f61967 (diff) | |
download | redmine-4c2e42e1c3748ca9ae3b6a7a45e77931ec8a7ce7.tar.gz redmine-4c2e42e1c3748ca9ae3b6a7a45e77931ec8a7ce7.zip |
"Add news" button in cross-project News tab (#33167).
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@20845 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/routing/news_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/routing/news_test.rb b/test/integration/routing/news_test.rb index 8e62da774..7863fad5f 100644 --- a/test/integration/routing/news_test.rb +++ b/test/integration/routing/news_test.rb @@ -29,6 +29,8 @@ class RoutingNewsTest < Redmine::RoutingTest def test_news should_route 'GET /news' => 'news#index' + should_route 'GET /news/new' => 'news#new' + should_route 'POST /news' => 'news#create' should_route 'GET /news.atom' => 'news#index', :format => 'atom' should_route 'GET /news/2' => 'news#show', :id => '2' should_route 'GET /news/2/edit' => 'news#edit', :id => '2' |