Commit f43e94f018374716dae4b8bd975eefbe66243016
1 parent
f4de5246
Exists in
colab
and in
4 other branches
Removed factory girl dependency from seeds
Signed-off-by: Pedro Scocco <pedroscocco@gmail.com>
Showing
2 changed files
with
1 additions
and
6 deletions
Show diff stats
db/seeds.rb
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | |
9 | 9 | # Default mezuro user, the owner of the public kalibro configurations |
10 | 10 | password = Devise.friendly_token |
11 | -default_user = FactoryGirl.create(:mezuro_user, password: password) | |
11 | +default_user = User.create(name: "Mezuro Default user", email: "mezuro@librelist.com", password: password) | |
12 | 12 | |
13 | 13 | puts "-- Default user created:" |
14 | 14 | puts " Email: #{default_user.email}" | ... | ... |
spec/factories/users.rb