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
72bb5231
Commit
72bb5231
authored
Feb 24, 2022
by
Kerri Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer let_it_be over let for static test objects
parent
94764057
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
spec/models/concerns/issuable_spec.rb
spec/models/concerns/issuable_spec.rb
+2
-1
No files found.
spec/models/concerns/issuable_spec.rb
View file @
72bb5231
...
...
@@ -33,7 +33,8 @@ RSpec.describe Issuable do
end
describe
'user_note_authors'
do
let
(
:system_user
)
{
create
(
:user
)
}
let_it_be
(
:system_user
)
{
create
(
:user
)
}
let!
(
:system_note
)
{
create
(
:system_note
,
author:
system_user
,
noteable:
issue
,
project:
issue
.
project
)
}
it
'filters the authors to those of user notes'
do
...
...
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