summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-02 16:55:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-02 16:55:16 +0000
commit3a32edc3bd108ed07ef2802fbf13dcc886d76607 (patch)
treed6db898248dfa8b008e452fb99d0540fb3035779 /test/integration
parent462c986452e25d00b4a76db6494b2649ca9d2285 (diff)
downloadredmine-3a32edc3bd108ed07ef2802fbf13dcc886d76607.tar.gz
redmine-3a32edc3bd108ed07ef2802fbf13dcc886d76607.zip
Adds a view for editing all trackers fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10283 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing/trackers_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/routing/trackers_test.rb b/test/integration/routing/trackers_test.rb
index 4b75bf52e..42bb574a9 100644
--- a/test/integration/routing/trackers_test.rb
+++ b/test/integration/routing/trackers_test.rb
@@ -67,5 +67,13 @@ class RoutingTrackersTest < ActionController::IntegrationTest
{ :controller => 'trackers', :action => 'destroy',
:format => 'xml', :id => '1' }
)
+ assert_routing(
+ { :method => 'get', :path => "/trackers/fields" },
+ { :controller => 'trackers', :action => 'fields' }
+ )
+ assert_routing(
+ { :method => 'post', :path => "/trackers/fields" },
+ { :controller => 'trackers', :action => 'fields' }
+ )
end
end