aboutsummaryrefslogtreecommitdiffstats
path: root/notes/code_structure.txt
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-07-25 16:21:42 +0100
committerDave Whiteland <dave@mysociety.org>2013-07-25 16:21:42 +0100
commitaffd9b1ae007a98b84aad52a49381d7f4dfddd75 (patch)
treec04c5012d61673d040c91c69a87ea8fefb02f010 /notes/code_structure.txt
parent9cb7aa2ab8b12fcd7ecce3624e807925e01aa891 (diff)
force upper case on certain PEM fields
Diffstat (limited to 'notes/code_structure.txt')
0 files changed, 0 insertions, 0 deletions
option> Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_user_controller_spec.rb
blob: 313f3f3289dbedee2dc12967ef9ccddcfb6f6cf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe AdminUserController, "when administering users" do
    integrate_views
    fixtures :users
    before { basic_auth_login @request }
  
    it "shows the index/list page" do
        get :index
    end

    it "searches for 'bob'" do
        get :list, :query => "bob"
        assigns[:admin_users].should == [ users(:bob_smith_user) ]
    end

    it "shows a user" do
        get :show, :id => users(:bob_smith_user)
    end

end