Merge branch 'cas'

This commit is contained in:
Eric Allen 2010-01-14 09:46:20 -08:00
commit 761810cf7f
17 changed files with 269 additions and 16 deletions

View file

@ -131,3 +131,21 @@ anothercontext:
user_id: 4
created_at: <%= today %>
updated_at: <%= today %>
inbox:
id: 15
name: Inbox
position: 1
hide: false
user_id: 5
created_at: <%= today %>
updated_at: <%= today %>
anothercontext:
id: 16
name: anothercontext
position: 2
hide: false
user_id: 5
created_at: <%= today %>
updated_at: <%= today %>

View file

@ -53,4 +53,22 @@ sms_user_prefs:
verbose_action_descriptors: false
show_project_on_todo_done: true
sms_email: 5555555555@tmomail.net
sms_context_id: 13
sms_context_id: 13
other_user_prefs:
id: 4
user_id: 5
staleness_starts: 7
date_format: "%d/%m/%Y"
title_date_format: "%A, %d %B %Y"
show_number_completed: 5
show_completed_projects_in_sidebar: true
show_hidden_contexts_in_sidebar: true
show_hidden_projects_in_sidebar: true
admin_email: butshesagirl@rousette.org.uk
week_starts: 1
due_style: 0
refresh: 0
time_zone: "Los_Angeles"
verbose_action_descriptors: false
show_project_on_todo_done: true

View file

@ -37,4 +37,14 @@ sms_user:
is_admin: false
first_name: SMS
last_name: Tester
auth_type: database
auth_type: database
ldap_user:
id: 5
login: john
crypted_password: test
token: <%= Digest::SHA1.hexdigest("internationalSun Feb 19 14:42:45 GMT 20060.408173979260027") %>
is_admin: false
first_name: International
last_name: Harvester
auth_type: CAS

View file

@ -0,0 +1,7 @@
open :controller => 'login'
type "username", username
type "password", password
click "//input[@value='Login']"
wait_for_page_to_load "30000"
click "signup"
wait_for_page_to_load "30000"

View file

@ -0,0 +1,11 @@
open :controller => 'login'
click "link=Login"
wait_for_page_to_load "30000"
type "username", username
type "password", password
click "//input[@value='Login']"
wait_for_page_to_load "30000"
click "link=Request Account"
wait_for_page_to_load "30000"
click "signup"
wait_for_page_to_load "30000"

View file

@ -0,0 +1,6 @@
open :controller => 'login'
click "link=Login"
wait_for_page_to_load "30000"
type "username", username
type "password", password
click "//input[@value='Login']"