aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/body_controller_test.rb
diff options
context:
space:
mode:
authorfrancis <francis>2007-10-11 22:01:36 +0000
committerfrancis <francis>2007-10-11 22:01:36 +0000
commit850ecc72e4467ba6f465a0eaa657bc8d9c7067b2 (patch)
tree56fdd5fee4ee35c74372290c9b9e3c049d8e672b /test/functional/body_controller_test.rb
parent0b79c30a76cea9d92ef121d66bb905436bfc41ee (diff)
Added controller for displaying public bodies.
Improve front page. Tidying up styling a bit. Add tagline.
Diffstat (limited to 'test/functional/body_controller_test.rb')
-rw-r--r--test/functional/body_controller_test.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/functional/body_controller_test.rb b/test/functional/body_controller_test.rb
new file mode 100644
index 000000000..4615d9f37
--- /dev/null
+++ b/test/functional/body_controller_test.rb
@@ -0,0 +1,18 @@
+require File.dirname(__FILE__) + '/../test_helper'
+require 'body_controller'
+
+# Re-raise errors caught by the controller.
+class BodyController; def rescue_action(e) raise e end; end
+
+class BodyControllerTest < Test::Unit::TestCase
+ def setup
+ @controller = BodyController.new
+ @request = ActionController::TestRequest.new
+ @response = ActionController::TestResponse.new
+ end
+
+ # Replace this with your real tests.
+ def test_truth
+ assert true
+ end
+end