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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
056b4779
Commit
056b4779
authored
Jun 21, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bring changes from EE
parent
e446e871
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
spec/support/redis/redis_shared_examples.rb
spec/support/redis/redis_shared_examples.rb
+8
-1
No files found.
spec/support/redis/redis_shared_examples.rb
View file @
056b4779
...
...
@@ -65,6 +65,14 @@ RSpec.shared_examples "redis_shared_examples" do
end
describe
'.url'
do
it
'withstands mutation'
do
url1
=
described_class
.
url
url2
=
described_class
.
url
url1
<<
'foobar'
unless
url1
.
frozen?
expect
(
url2
).
not_to
end_with
(
'foobar'
)
end
context
'when yml file with env variable'
do
let
(
:config_file_name
)
{
config_with_environment_variable_inside
}
...
...
@@ -101,7 +109,6 @@ RSpec.shared_examples "redis_shared_examples" do
before
do
clear_pool
end
after
do
clear_pool
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