]> projects.mako.cc - selectricity-live/blobdiff - test/functional/quickvote_controller_test.rb
fixed up the results page in a number of ways
[selectricity-live] / test / functional / quickvote_controller_test.rb
index fbeb4a53a0dadf20ae1cd50be68fc41208ec1098..60ddb1b86f036e66362074f755914f90dc9cfa72 100644 (file)
@@ -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

Benjamin Mako Hill || Want to submit a patch?