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
4633438f
Commit
4633438f
authored
Nov 29, 2021
by
Fu Zhang
Committed by
Stan Hu
Nov 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cleanup rake spec by adding clear_pool in after do block
parent
6d995f16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
spec/lib/gitlab/redis/sessions_spec.rb
spec/lib/gitlab/redis/sessions_spec.rb
+4
-0
No files found.
spec/lib/gitlab/redis/sessions_spec.rb
View file @
4633438f
...
@@ -10,6 +10,10 @@ RSpec.describe Gitlab::Redis::Sessions do
...
@@ -10,6 +10,10 @@ RSpec.describe Gitlab::Redis::Sessions do
clear_pool
clear_pool
end
end
after
do
clear_pool
end
context
'when redis.sessions configuration is not provided'
do
context
'when redis.sessions configuration is not provided'
do
it
'uses ::Redis instance'
do
it
'uses ::Redis instance'
do
expect
(
described_class
).
to
receive
(
:config_fallback?
).
and_return
(
true
)
expect
(
described_class
).
to
receive
(
:config_fallback?
).
and_return
(
true
)
...
...
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