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

Benjamin Mako Hill || Want to submit a patch?