Commit 34043d4ff8ab95a9f14ae71f5a7c0c25e7adf8e0
1 parent
bf7031dd
Exists in
master
and in
28 other branches
ActionItem85: changing test data e-mails from @example.com to @localhost.localdomain
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@635 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
7 additions
and
7 deletions
Show diff stats
script/populate
1 | 1 | #!/usr/bin/env ruby |
2 | 2 | require File.dirname(__FILE__) + '/../config/environment' |
3 | 3 | |
4 | -User.create!(:login => 'testprofile', :email => 'admin@example.com', :password => 'test', :password_confirmation => 'test') | |
5 | -User.create!(:login => 'user', :email => 'user@example.com', :password => 'user', :password_confirmation => 'user') | |
6 | -User.create!(:login => 'usuario', :email => 'usuario@example.com', :password => 'usuario', :password_confirmation => 'usuario') | |
7 | -User.create!(:login => 'ze', :email => 'ze@example.com', :password => 'test', :password_confirmation => 'test') | |
4 | +User.create!(:login => 'testprofile', :email => 'admin@localhost.localdomain', :password => 'test', :password_confirmation => 'test') | |
5 | +User.create!(:login => 'user', :email => 'user@localhost.localdomain', :password => 'user', :password_confirmation => 'user') | |
6 | +User.create!(:login => 'usuario', :email => 'usuario@localhost.localdomain', :password => 'usuario', :password_confirmation => 'usuario') | |
7 | +User.create!(:login => 'ze', :email => 'ze@localhost.localdomain', :password => 'test', :password_confirmation => 'test') | |
8 | 8 | |
9 | 9 | ... | ... |
test/fixtures/users.yml
1 | 1 | johndoe: |
2 | 2 | id: 1 |
3 | 3 | login: johndoe |
4 | - email: johndoe@example.com | |
4 | + email: johndoe@localhost.localdomain | |
5 | 5 | salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd |
6 | 6 | crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test |
7 | 7 | #crypted_password: "ce2/iFrNtQ8=\n" # johndoe, use only if you're using 2-way encryption |
... | ... | @@ -10,7 +10,7 @@ johndoe: |
10 | 10 | joerandomhacker: |
11 | 11 | id: 2 |
12 | 12 | login: joerandomhacker |
13 | - email: joerandomhacker@example.com | |
13 | + email: joerandomhacker@localhost.localdomain | |
14 | 14 | salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd |
15 | 15 | crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test |
16 | 16 | # activation_code: aaronscode # only if you're activating new signups |
... | ... | @@ -18,7 +18,7 @@ joerandomhacker: |
18 | 18 | ze: |
19 | 19 | id: 3 |
20 | 20 | login: ze |
21 | - email: ze@example.com | |
21 | + email: ze@localhost.localdomain | |
22 | 22 | salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd |
23 | 23 | crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test |
24 | 24 | # activation_code: aaronscode # only if you're activating new signups | ... | ... |