summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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' }