fixed failing test

- adapted wiki#rename routing test for put method
pull/92/head
Christian Ratz 12 years ago
parent 4ca2918752
commit 58c719adf7
  1. 2
      test/integration/routing_test.rb

@ -974,7 +974,7 @@ class RoutingTest < ActionDispatch::IntegrationTest
:action => 'preview',
:project_id => '567',
:id => 'CookBook_documentation' )
should route(:post, "/projects/22/wiki/ladida/rename").to( :controller => 'wiki',
should route(:put, "/projects/22/wiki/ladida/rename").to( :controller => 'wiki',
:action => 'rename',
:project_id => '22',
:id => 'ladida' )

Loading…
Cancel
Save