Commit 0402708dc7263f0b6dc320db12855dab6204f232

Authored by Antonio Terceiro
1 parent ce48c3e8

ActionItem1210: adding an explicit environment to users from fixtures

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
test/fixtures/users.yml
@@ -7,6 +7,7 @@ johndoe: @@ -7,6 +7,7 @@ johndoe:
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
8 created_at: <%= 5.days.ago.to_s :db %> 8 created_at: <%= 5.days.ago.to_s :db %>
9 # activated_at: <%= 5.days.ago.to_s :db %> # only if you're activating new signups 9 # activated_at: <%= 5.days.ago.to_s :db %> # only if you're activating new signups
  10 + environment_id: 1
10 joerandomhacker: 11 joerandomhacker:
11 id: 2 12 id: 2
12 login: joerandomhacker 13 login: joerandomhacker
@@ -15,6 +16,7 @@ joerandomhacker: @@ -15,6 +16,7 @@ joerandomhacker:
15 crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test 16 crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test
16 # activation_code: aaronscode # only if you're activating new signups 17 # activation_code: aaronscode # only if you're activating new signups
17 created_at: <%= 1.days.ago.to_s :db %> 18 created_at: <%= 1.days.ago.to_s :db %>
  19 + environment_id: 1
18 ze: 20 ze:
19 id: 3 21 id: 3
20 login: ze 22 login: ze
@@ -23,3 +25,4 @@ ze: @@ -23,3 +25,4 @@ ze:
23 crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test 25 crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test
24 # activation_code: aaronscode # only if you're activating new signups 26 # activation_code: aaronscode # only if you're activating new signups
25 created_at: <%= 1.days.ago.to_s :db %> 27 created_at: <%= 1.days.ago.to_s :db %>
  28 + environment_id: 1