summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r--test/functional/issues_controller_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index 83cdb27ac..176fd42e5 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -721,6 +721,12 @@ class IssuesControllerTest < ActionController::TestCase
end
end
+ def test_index_should_include_back_url_input
+ get :index, :project_id => 'ecookbook', :foo => 'bar'
+ assert_response :success
+ assert_select 'input[name=back_url][value=?]', '/projects/ecookbook/issues?foo=bar'
+ end
+
def test_index_sort
get :index, :sort => 'tracker,id:desc'
assert_response :success