Commit bfc6e2a4 authored by Vitali Tatarintev's avatar Vitali Tatarintev

Use let_it_be in User internal methods specs

parent a76cd3a9
......@@ -4128,7 +4128,7 @@ describe User, :do_not_mock_admin_mode do
end
describe 'internal methods' do
let!(:user) { create(:user) }
let_it_be(:user) { create(:user) }
let!(:ghost) { described_class.ghost }
let!(:alert_bot) { described_class.alert_bot }
let!(:non_internal) { [user] }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment