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
33dcb581
Commit
33dcb581
authored
Sep 08, 2021
by
Rajendra Kadam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply suggestions for specs
parent
3f686420
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/policies/custom_emoji_policy_spec.rb
spec/policies/custom_emoji_policy_spec.rb
+1
-1
spec/requests/api/graphql/mutations/custom_emoji/destroy_spec.rb
...quests/api/graphql/mutations/custom_emoji/destroy_spec.rb
+1
-1
No files found.
spec/policies/custom_emoji_policy_spec.rb
View file @
33dcb581
...
...
@@ -48,7 +48,7 @@ RSpec.describe CustomEmojiPolicy do
end
end
context
'is developer and
owne
r'
do
context
'is developer and
emoji creato
r'
do
before
do
group
.
add_developer
(
user
)
custom_emoji
.
update_attribute
(
:creator
,
user
)
...
...
spec/requests/api/graphql/mutations/custom_emoji/destroy_spec.rb
View file @
33dcb581
...
...
@@ -35,7 +35,7 @@ RSpec.describe 'Deletion of custom emoji' do
it_behaves_like
'does not delete custom emoji'
end
context
'when the user is developer and not
owne
r of custom emoji'
do
context
'when the user is developer and not
creato
r of custom emoji'
do
before
do
group
.
add_developer
(
current_user
)
end
...
...
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