Skip to content

Commit af5e68b

Browse files
author
Rhys Powell
committed
Added username to user fabricator
1 parent 30284fe commit af5e68b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spec/fabricators/user_fabricator.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
email { sequence(:email) { |i| "user#{i}@example.com"} }
33
password "password"
44
password_confirmation "password"
5-
end
5+
username { sequence(:username) { |i| "user#{i}" } }
6+
end

0 commit comments

Comments
 (0)