Commit 75ed48b3c348eea2f8528db6f2f722322e1f84c5
Exists in
colab
and in
4 other branches
Merge pull request #267 from mezuro/seeds
Removed factory girl dependency from seeds
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