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
bd3fd863
Commit
bd3fd863
authored
Jul 27, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a spec failure in Admin::GeoNodesController
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
276eb73a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/controllers/admin/geo_nodes_controller_spec.rb
spec/controllers/admin/geo_nodes_controller_spec.rb
+3
-3
No files found.
spec/controllers/admin/geo_nodes_controller_spec.rb
View file @
bd3fd863
...
...
@@ -187,7 +187,7 @@ describe Admin::GeoNodesController, :postgresql do
end
it
'displays a flash message'
do
expect
(
controller
).
to
set_flash
.
now
[
:alert
].
to
(
"Primary node can't be disabled."
)
expect
(
controller
).
to
set_flash
[
:alert
].
to
(
"Primary node can't be disabled."
)
end
it
'redirects to the geo nodes page'
do
...
...
@@ -208,7 +208,7 @@ describe Admin::GeoNodesController, :postgresql do
end
it
'displays a flash message'
do
expect
(
controller
).
to
set_flash
.
now
[
:notice
].
to
(
'Node http://example.com/ was successfully disabled.'
)
expect
(
controller
).
to
set_flash
[
:notice
].
to
(
'Node http://example.com/ was successfully disabled.'
)
end
it
'redirects to the geo nodes page'
do
...
...
@@ -227,7 +227,7 @@ describe Admin::GeoNodesController, :postgresql do
end
it
'displays a flash message'
do
expect
(
controller
).
to
set_flash
.
now
[
:alert
].
to
(
'There was a problem disabling node http://example.com/.'
)
expect
(
controller
).
to
set_flash
[
:alert
].
to
(
'There was a problem disabling node http://example.com/.'
)
end
it
'redirects to the geo nodes page'
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