Add tests for change of gravatar use depending on email
This commit is contained in:
parent
8283a39dbc
commit
90b7101cc3
5 changed files with 77 additions and 6 deletions
29
test/fixtures/users.yml
vendored
29
test/fixtures/users.yml
vendored
|
@ -304,3 +304,32 @@ github_user:
|
|||
terms_agreed: "2010-01-01 11:22:33"
|
||||
terms_seen: true
|
||||
languages: en
|
||||
|
||||
first_gravatar_user:
|
||||
id: 23
|
||||
email: g1@OpenStreetMap.org
|
||||
new_email: new_g1@OpenStreetMap.org
|
||||
status: active
|
||||
pass_crypt: <%= Digest::MD5.hexdigest('test') %>
|
||||
creation_time: "2008-05-01 01:23:45"
|
||||
display_name: gravatar1
|
||||
data_public: true
|
||||
description: some test description
|
||||
terms_agreed: "2010-01-01 11:22:33"
|
||||
terms_seen: true
|
||||
creation_ip: "1.2.3.4"
|
||||
|
||||
second_gravatar_user:
|
||||
id: 24
|
||||
email: g2@OpenStreetMap.org
|
||||
new_email: new_g2@OpenStreetMap.org
|
||||
image_use_gravatar: true
|
||||
status: active
|
||||
pass_crypt: <%= Digest::MD5.hexdigest('test') %>
|
||||
creation_time: "2008-05-01 01:23:45"
|
||||
display_name: gravatar2
|
||||
data_public: true
|
||||
description: some test description
|
||||
terms_agreed: "2010-01-01 11:22:33"
|
||||
terms_seen: true
|
||||
creation_ip: "1.2.3.4"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue