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
f5e9c261
Commit
f5e9c261
authored
Feb 21, 2020
by
Dmitry Gruzd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix NetConnectNotAllowedError spec failure
parent
e9b8f607
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
spec/views/admin/application_settings/integrations.html.haml_spec.rb
...admin/application_settings/integrations.html.haml_spec.rb
+1
-0
No files found.
spec/views/admin/application_settings/integrations.html.haml_spec.rb
View file @
f5e9c261
...
@@ -11,6 +11,7 @@ describe 'admin/application_settings/integrations.html.haml' do
...
@@ -11,6 +11,7 @@ describe 'admin/application_settings/integrations.html.haml' do
before
do
before
do
assign
(
:application_setting
,
app_settings
)
assign
(
:application_setting
,
app_settings
)
allow
(
Gitlab
::
Sourcegraph
).
to
receive
(
:feature_available?
).
and_return
(
sourcegraph_flag
)
allow
(
Gitlab
::
Sourcegraph
).
to
receive
(
:feature_available?
).
and_return
(
sourcegraph_flag
)
allow
(
License
).
to
receive
(
:feature_available?
).
with
(
:elastic_search
).
and_return
(
false
)
if
defined?
(
License
)
end
end
context
'when sourcegraph feature is enabled'
do
context
'when sourcegraph feature is enabled'
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