]> projects.mako.cc - selectricity-live/blobdiff - test/functional/site_controller_test.rb
* Fix the session_id accessor. Previous version looks for wrong method
[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?