diff options
Diffstat (limited to 'spec/tasks/gitlab/password_rake_spec.rb')
-rw-r--r-- | spec/tasks/gitlab/password_rake_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/tasks/gitlab/password_rake_spec.rb b/spec/tasks/gitlab/password_rake_spec.rb index 5d5e5af2536..21a6dc102e6 100644 --- a/spec/tasks/gitlab/password_rake_spec.rb +++ b/spec/tasks/gitlab/password_rake_spec.rb @@ -3,8 +3,8 @@ require 'rake_helper' RSpec.describe 'gitlab:password rake tasks', :silence_stdout do - let_it_be(:user_1) { create(:user, username: 'foobar', password: User.random_password) } - let_it_be(:password) { User.random_password } + let!(:user_1) { create(:user, username: 'foobar', password: User.random_password) } + let(:password) { User.random_password } def stub_username(username) allow(Gitlab::TaskHelpers).to receive(:prompt).with('Enter username: ').and_return(username) |