Check in a bit of partial work on controller testcases, but I'm calling it a day...
[selectricity] / test / functional / quickvote_controller_test.rb
old mode 100755 (executable)
new mode 100644 (file)
index d0b37d9..f2b0c2c
@@ -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?