1 require File.dirname(__FILE__) + '/../test_helper'
3 class RedirectTest < ActionDispatch::IntegrationTest
4 def test_history_redirects
6 assert_response :redirect
7 assert_redirected_to "/history"
9 get "/browse/changesets"
10 assert_response :redirect
11 assert_redirected_to "/history"
14 def test_history_feed_redirects
15 get "/browse/changesets/feed"
16 assert_response :redirect
17 assert_redirected_to "/history/feed"