Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9208e761
Commit
9208e761
authored
Sep 21, 2020
by
Jake Lear
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix errant indentation and rubocop
parent
b2a79514
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
ee/app/models/ee/user.rb
ee/app/models/ee/user.rb
+1
-1
ee/spec/models/user_spec.rb
ee/spec/models/user_spec.rb
+0
-1
No files found.
ee/app/models/ee/user.rb
View file @
9208e761
...
...
@@ -360,7 +360,7 @@ module EE
def
gitlab_bot?
strong_memoize
(
:gitlab_bot
)
do
bot?
&&
::
Gitlab
::
Com
.
gitlab_com_group_member_id?
(
id
)
bot?
&&
::
Gitlab
::
Com
.
gitlab_com_group_member_id?
(
id
)
end
end
...
...
ee/spec/models/user_spec.rb
View file @
9208e761
...
...
@@ -1287,7 +1287,6 @@ RSpec.describe User do
end
describe
'#gitlab_bot?'
do
subject
{
user
.
gitlab_bot?
}
let_it_be
(
:gitlab_group
)
{
create
(
:group
,
name:
'gitlab-com'
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment