summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-06 13:26:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-06 13:26:25 +0000
commitfc19b180c871e6b159554045f4919074489821e2 (patch)
tree61d3e090c047ae6e04e6825061132562c4bab095 /test/integration
parentd9ec03493d38f8186e3594688baeb4d046f17569 (diff)
downloadredmine-fc19b180c871e6b159554045f4919074489821e2.tar.gz
redmine-fc19b180c871e6b159554045f4919074489821e2.zip
Fixed that previews are broken by r10957 (#12642).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11133 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing/previews_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/routing/previews_test.rb b/test/integration/routing/previews_test.rb
index 913f021ed..5e4ae109f 100644
--- a/test/integration/routing/previews_test.rb
+++ b/test/integration/routing/previews_test.rb
@@ -19,7 +19,7 @@ require File.expand_path('../../../test_helper', __FILE__)
class RoutingPreviewsTest < ActionController::IntegrationTest
def test_previews
- ["get", "post"].each do |method|
+ ["get", "post", "put"].each do |method|
assert_routing(
{ :method => method, :path => "/issues/preview/new/123" },
{ :controller => 'previews', :action => 'issue', :project_id => '123' }