Commit 34043d4ff8ab95a9f14ae71f5a7c0c25e7adf8e0

Authored by AntonioTerceiro
1 parent bf7031dd

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 #!/usr/bin/env ruby 1 #!/usr/bin/env ruby
2 require File.dirname(__FILE__) + '/../config/environment' 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 johndoe: 1 johndoe:
2 id: 1 2 id: 1
3 login: johndoe 3 login: johndoe
4 - email: johndoe@example.com 4 + email: johndoe@localhost.localdomain
5 salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd 5 salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd
6 crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test 6 crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test
7 #crypted_password: "ce2/iFrNtQ8=\n" # johndoe, use only if you're using 2-way encryption 7 #crypted_password: "ce2/iFrNtQ8=\n" # johndoe, use only if you're using 2-way encryption
@@ -10,7 +10,7 @@ johndoe: @@ -10,7 +10,7 @@ johndoe:
10 joerandomhacker: 10 joerandomhacker:
11 id: 2 11 id: 2
12 login: joerandomhacker 12 login: joerandomhacker
13 - email: joerandomhacker@example.com 13 + email: joerandomhacker@localhost.localdomain
14 salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd 14 salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd
15 crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test 15 crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test
16 # activation_code: aaronscode # only if you're activating new signups 16 # activation_code: aaronscode # only if you're activating new signups
@@ -18,7 +18,7 @@ joerandomhacker: @@ -18,7 +18,7 @@ joerandomhacker:
18 ze: 18 ze:
19 id: 3 19 id: 3
20 login: ze 20 login: ze
21 - email: ze@example.com 21 + email: ze@localhost.localdomain
22 salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd 22 salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd
23 crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test 23 crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test
24 # activation_code: aaronscode # only if you're activating new signups 24 # activation_code: aaronscode # only if you're activating new signups