diff --git a/db/fixtures/development/01_admin.rb b/db/fixtures/development/01_admin.rb index 004d4cd64a135a2b1a776be2190e776166bc64f2..1b2dec31323ca11aef46f8a1a58b790a4297e20a 100644 --- a/db/fixtures/development/01_admin.rb +++ b/db/fixtures/development/01_admin.rb @@ -5,7 +5,6 @@ Gitlab::Seeder.quiet do s.email = 'admin@example.com' s.username = 'root' s.password = '5iveL!fe' - s.password_confirmation = '5iveL!fe' s.admin = true s.projects_limit = 100 s.confirmed_at = DateTime.now diff --git a/db/fixtures/production/001_admin.rb b/db/fixtures/production/001_admin.rb index 0755ac714e11c217c395bf71d5f31cb0d0a94c55..8b560ee09e00251a28c05b13d9d972f0a0c23946 100644 --- a/db/fixtures/production/001_admin.rb +++ b/db/fixtures/production/001_admin.rb @@ -11,7 +11,6 @@ admin = User.create( name: "Administrator", username: 'root', password: password, - password_confirmation: password, password_expires_at: expire_time, theme_id: Gitlab::Theme::MARS diff --git a/spec/factories.rb b/spec/factories.rb index 50580cd1334d3ac68d4ff987579df97bc99bb24f..fc103e5b1332b00a7833c4d9115a2c3f0d4dfdf1 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -20,7 +20,6 @@ FactoryGirl.define do name sequence(:username) { |n| "#{Faker::Internet.user_name}#{n}" } password "12345678" - password_confirmation { password } confirmed_at { Time.now } confirmation_token { nil }