summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-01 18:02:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-01 18:02:21 +0000
commit526736dedced5870beab53c1e7845d27471b5563 (patch)
treeb36cdfc5d448c39cd167cddfaa76ef49e757d702 /test
parent2507fd1cd4448c4b0f03973e5961262472172ef7 (diff)
downloadredmine-526736dedced5870beab53c1e7845d27471b5563.tar.gz
redmine-526736dedced5870beab53c1e7845d27471b5563.zip
Removed obsolete routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8017 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/integration/issues_test.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/integration/issues_test.rb b/test/integration/issues_test.rb
index 81aea1896..48ced6bc7 100644
--- a/test/integration/issues_test.rb
+++ b/test/integration/issues_test.rb
@@ -89,7 +89,7 @@ class IssuesTest < ActionController::IntegrationTest
assert_equal 0, Issue.find(1).attachments.length
end
- def test_other_formats_links_on_get_index
+ def test_other_formats_links_on_index
get '/projects/ecookbook/issues'
%w(Atom PDF CSV).each do |format|
@@ -99,8 +99,8 @@ class IssuesTest < ActionController::IntegrationTest
end
end
- def test_other_formats_links_on_post_index_without_project_id_in_url
- post '/issues', :project_id => 'ecookbook'
+ def test_other_formats_links_on_index_without_project_id_in_url
+ get '/issues', :project_id => 'ecookbook'
%w(Atom PDF CSV).each do |format|
assert_tag :a, :content => format,
@@ -109,7 +109,7 @@ class IssuesTest < ActionController::IntegrationTest
end
end
- def test_pagination_links_on_get_index
+ def test_pagination_links_on_index
Setting.per_page_options = '2'
get '/projects/ecookbook/issues'
@@ -118,9 +118,9 @@ class IssuesTest < ActionController::IntegrationTest
end
- def test_pagination_links_on_post_index_without_project_id_in_url
+ def test_pagination_links_on_index_without_project_id_in_url
Setting.per_page_options = '2'
- post '/issues', :project_id => 'ecookbook'
+ get '/issues', :project_id => 'ecookbook'
assert_tag :a, :content => '2',
:attributes => { :href => '/projects/ecookbook/issues?page=2' }