2019-10-12 21:52:04 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
RSpec.shared_context 'UsersFinder#execute filter by project context' do
|
2020-04-22 19:07:51 +05:30
|
|
|
let_it_be(:normal_user) { create(:user, username: 'johndoe') }
|
|
|
|
let_it_be(:blocked_user) { create(:user, :blocked, username: 'notsorandom') }
|
|
|
|
let_it_be(:external_user) { create(:user, :external) }
|
|
|
|
let_it_be(:omniauth_user) { create(:omniauth_user, provider: 'twitter', extern_uid: '123456') }
|
2020-11-24 15:15:51 +05:30
|
|
|
let_it_be(:internal_user) { User.alert_bot }
|
2019-07-07 11:18:12 +05:30
|
|
|
end
|