]> git.openstreetmap.org Git - rails.git/blob - test/fixtures/users.yml
Hack a way to make the email and display name case insensitive for logging in, based...
[rails.git] / test / fixtures / users.yml
1 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2 # The normal user's email is intentionally capitalised that way to 
3 # check that the login is case insensitive
4 normal_user:
5   id: 1
6   email: test@OpenStreetMap.org
7   active: true
8   pass_crypt: <%= Digest::MD5.hexdigest('test') %>
9   creation_time: "2007-01-01 00:00:00"
10   display_name: test
11   data_public: false
12   description: test
13   home_lat: 12.1
14   home_lon: 12.1
15   home_zoom: 3
16   
17 public_user:
18   id: 2
19   email: test@example.com
20   active: true
21   pass_crypt: <%= Digest::MD5.hexdigest('test') %>
22   creation_time: "2008-05-01 01:23:45"
23   display_name: test2
24   data_public: true
25   description: some test description
26   home_lat: 12
27   home_lon: 12
28   home_zoom: 12
29   
30 inactive_user:
31   id: 3
32   email: inactive@openstreetmap.org
33   active: false
34   pass_crypt: <%= Digest::MD5::hexdigest('test2') %>
35   creation_time: "2008-07-01 02:23:45"
36   display_name: Inactive User
37   data_public: true
38   description: description
39   home_lat: 123.4
40   home_lon: 12.34
41   home_zoom: 15