aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_public_body_controller_spec.rb
blob: 5d5a4a4a1f63e7f8926b9b090ba66227b746f68c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require File.dirname(__FILE__) + '/../spec_helper'

describe AdminPublicBodyController, "when administering public bodies" do
    integrate_views
    fixtures :public_bodies
  
    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