diff --git a/db/seeds.rb b/db/seeds.rb index 4d7d7d9..12e5432 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -7,10 +7,10 @@ # Mayor.create(name: 'Emanuel', city: cities.first) # Default mezuro user, the owner of the public kalibro configurations -default_user = FactoryGirl.create(:mezuro_user, password: Devise.friendly_token.first(10)) +default_user = FactoryGirl.create(:mezuro_user) default_user.save -# The database should have only the default public +# The database should have only the default public # configurations when this file is executed kalibro_configurations = KalibroConfiguration.all kalibro_configurations.each do |configuration| diff --git a/spec/factories/users.rb b/spec/factories/users.rb index abd4fd7..705ef3a 100644 --- a/spec/factories/users.rb +++ b/spec/factories/users.rb @@ -17,6 +17,7 @@ FactoryGirl.define do factory :mezuro_user do name "Mezuro Default user" email "mezuro@librelist.com" + password Devise.friendly_token.first(10) end end end -- libgit2 0.21.2