db/seed.rb in stockor-0.1.8 vs db/seed.rb in stockor-0.1.9
- old
+ new
@@ -5,10 +5,10 @@
module Skr
user = Lanes::User.where(login: 'admin').first
if user.nil?
user = Lanes::User.create!(name: "Admin", email: "admin@test.com",
- password: 'senal', password_confirmation: 'senal',
+ password: 'password', password_confirmation: 'password',
login: 'admin', role_names: ['administrator'])
end
Lanes::User.scoped_to(user) do
seeds_path = Pathname.new(__FILE__).dirname.join('seed')