aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2007-11-13 13:04:40 +0000
committerfrancis <francis>2007-11-13 13:04:40 +0000
commit3a8ef0dcb7658d9c06873cadce4a5b7bceb7767d (patch)
tree2878f0e5b4ee2435ec9257eb420a0cf0b558e465
parent857816d7a775ca52777833b122b9a31b8869d6e6 (diff)
A few more tests.
-rw-r--r--spec/controllers/admin_public_body_controller_spec.rb11
1 files changed, 10 insertions, 1 deletions
diff --git a/spec/controllers/admin_public_body_controller_spec.rb b/spec/controllers/admin_public_body_controller_spec.rb
index 0b2541f8e..5d5a4a4a1 100644
--- a/spec/controllers/admin_public_body_controller_spec.rb
+++ b/spec/controllers/admin_public_body_controller_spec.rb
@@ -4,8 +4,17 @@ describe AdminPublicBodyController, "when administering public bodies" do
integrate_views
fixtures :public_bodies
- it "show the index page" do
+ it "shows the index page" do
get :index
end
+ it "shows a public body" do
+ get :show, :id => 2
+ end
+
+ it "edits a public body" do
+ get :edit, :id => 2
+ end
+
+
end