summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-01-21 04:39:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-01-21 04:39:56 +0000
commit6bb1ea8ae8a1f7495ceb1ca656a056dbf11d3dac (patch)
tree4ad42455b3b4bfc62e5b0b4a7799b3a628e44dcd /test/integration
parente2a999743e972f56dbd0e9b20bb7facb9a4a672d (diff)
downloadredmine-6bb1ea8ae8a1f7495ceb1ca656a056dbf11d3dac.tar.gz
redmine-6bb1ea8ae8a1f7495ceb1ca656a056dbf11d3dac.zip
Use regular edit/update actions and named routes for JournalsController.
git-svn-id: http://svn.redmine.org/redmine/trunk@15074 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing/journals_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/routing/journals_test.rb b/test/integration/routing/journals_test.rb
index c0bcf0ea3..33e161e35 100644
--- a/test/integration/routing/journals_test.rb
+++ b/test/integration/routing/journals_test.rb
@@ -21,9 +21,9 @@ class RoutingJournalsTest < Redmine::RoutingTest
def test_journals
should_route 'POST /issues/1/quoted' => 'journals#new', :id => '1'
should_route 'GET /issues/changes' => 'journals#index'
- should_route 'GET /journals/diff/1' => 'journals#diff', :id => '1'
+ should_route 'GET /journals/1/diff' => 'journals#diff', :id => '1'
- should_route 'GET /journals/edit/1' => 'journals#edit', :id => '1'
- should_route 'POST /journals/edit/1' => 'journals#edit', :id => '1'
+ should_route 'GET /journals/1/edit' => 'journals#edit', :id => '1'
+ should_route 'PUT /journals/1' => 'journals#update', :id => '1'
end
end