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
b2fa2039
Commit
b2fa2039
authored
Jan 08, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove tests for URL check flash error
parent
ea44fb6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
spec/ee/spec/controllers/admin/geo_nodes_controller_spec.rb
spec/ee/spec/controllers/admin/geo_nodes_controller_spec.rb
+0
-24
No files found.
spec/ee/spec/controllers/admin/geo_nodes_controller_spec.rb
View file @
b2fa2039
...
...
@@ -53,30 +53,6 @@ describe Admin::GeoNodesController, :postgresql do
expect
(
response
).
not_to
redirect_to
(
admin_license_path
)
end
end
context
'Secured URL'
do
let
(
:alert_message
)
{
'You have configured Geo nodes using an insecure HTTP connection. We recommend the use of HTTPS.'
}
context
'HTTP nodes'
do
it
'displays a flash message'
do
create
(
:geo_node
,
url:
'http://not.safe'
)
go
expect
(
flash
[
:alert
]).
to
include
(
alert_message
)
end
end
context
'with HTTPS nodes'
do
it
'does not display a flash message'
do
create
(
:geo_node
,
url:
'https://much.safer'
)
go
expect
(
flash
[
:alert
]).
not_to
include
(
alert_message
)
end
end
end
end
describe
'#destroy'
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