]> projects.mako.cc - selectricity-live/blobdiff - test/functional/site_controller_test.rb
Fix a bug where quickvote displays name cant be blank twice. validators are inherited...
[selectricity-live] / test / functional / site_controller_test.rb
old mode 100755 (executable)
new mode 100644 (file)
index 69b9348..ad9f06c
@@ -12,7 +12,8 @@ class SiteControllerTest < Test::Unit::TestCase
   end
 
   # Replace this with your real tests.
   end
 
   # Replace this with your real tests.
-  def test_truth
-    assert true
+  def test_index
+    get :index
+    assert_response :success
   end
 end
   end
 end

Benjamin Mako Hill || Want to submit a patch?