X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/5ccb47e8c8b3c782147b9f0ca7c45fc4dd5d034c..d2eb87b3ce3d10f0e8d490d5e248c657125a68a8:/test/functional/quickvote_controller_test.rb?ds=sidebyside diff --git a/test/functional/quickvote_controller_test.rb b/test/functional/quickvote_controller_test.rb index fbeb4a5..60ddb1b 100644 --- a/test/functional/quickvote_controller_test.rb +++ b/test/functional/quickvote_controller_test.rb @@ -60,7 +60,7 @@ class QuickvoteControllerTest < Test::Unit::TestCase def test_get_quickvote_nonexistent get :index, { 'ident' => "idontexist" } - assert_redirected_to :controller => 'site' + assert_redirected_to :controller => 'front' end def test_get_result_empty_vote @@ -72,7 +72,7 @@ class QuickvoteControllerTest < Test::Unit::TestCase def test_get_result_nonexistent test_create_quickvote get :results, { 'ident' => 'asdflaksdjf' } - assert_redirected_to :controller => 'site' + assert_redirected_to :controller => 'front' end def test_get_result_with_a_vote