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
ad052f70
Commit
ad052f70
authored
May 22, 2020
by
Arun Kumar Mohan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use build_stubbed to avoid interacting with the DB in todos helper specs
parent
6cfe09c4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased/perf-use-build-stubbed.yml
changelogs/unreleased/perf-use-build-stubbed.yml
+5
-0
spec/helpers/todos_helper_spec.rb
spec/helpers/todos_helper_spec.rb
+1
-1
No files found.
changelogs/unreleased/perf-use-build-stubbed.yml
0 → 100644
View file @
ad052f70
---
title
:
Use build_stubbed to avoid interacting with the DB in todos helper specs
merge_request
:
32906
author
:
Arun Kumar Mohan
type
:
performance
spec/helpers/todos_helper_spec.rb
View file @
ad052f70
...
@@ -89,7 +89,7 @@ describe TodosHelper do
...
@@ -89,7 +89,7 @@ describe TodosHelper do
context
'when given a non-design todo'
do
context
'when given a non-design todo'
do
let
(
:todo
)
do
let
(
:todo
)
do
create
(
:todo
,
:assigned
,
build_stubbed
(
:todo
,
:assigned
,
user:
user
,
user:
user
,
project:
issue
.
project
,
project:
issue
.
project
,
target:
issue
,
target:
issue
,
...
...
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