Check in a bit of partial work on controller testcases, but I'm calling it a day...
[selectricity] / test / functional / quickvote_controller_test.rb
index d0b37d90c170891a78723739631300e12ec9c88a..f2b0c2c06c1ddff655fdd08e71c54e813df2472c 100644 (file)
@@ -12,7 +12,11 @@ class QuickvoteControllerTest < Test::Unit::TestCase
   end
 
   # Replace this with your real tests.
-  def test_truth
-    assert true
+  def test_index
+    get :index
+    assert_response 302
+  end
+  def test_create_quickvote
+
   end
 end

Benjamin Mako Hill || Want to submit a patch?