comparison .svn/pristine/70/70b84ab9e3add639c1ef335fb9d7383dcdf7f5f5.svn-base @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents
children
comparison
equal deleted inserted replaced
908:c6c2cbd0afee 909:cbb26bc654de
1 require File.expand_path('../../test_helper', __FILE__)
2
3 class LdapAuthSourcesControllerTest < ActionController::TestCase
4
5 def setup
6 @request.session[:user_id] = 1
7 end
8
9 context "get :new" do
10 setup do
11 get :new
12 end
13
14 should_assign_to :auth_source
15 should_respond_with :success
16 should_render_template :new
17
18 should "initilize a new AuthSource" do
19 assert_equal AuthSourceLdap, assigns(:auth_source).class
20 assert assigns(:auth_source).new_record?
21 end
22 end
23 end