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
7994902c
Commit
7994902c
authored
Jun 15, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test to reflect Geo secondary banner text
parent
46ee6920
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ee/spec/features/geo_node_spec.rb
ee/spec/features/geo_node_spec.rb
+2
-2
ee/spec/features/read_only_spec.rb
ee/spec/features/read_only_spec.rb
+1
-1
No files found.
ee/spec/features/geo_node_spec.rb
View file @
7994902c
...
...
@@ -17,12 +17,12 @@ feature 'GEO Nodes' do
describe
"showing Flash Info Message"
do
it
'on dashboard'
do
visit
root_dashboard_path
expect
(
page
).
to
have_content
'You are on a secondary
(read-only) Geo
node.'
expect
(
page
).
to
have_content
'You are on a secondary
, read-only Geo node. If you want to make changes, you must visit this page on the primary
node.'
end
it
'on project overview'
do
visit
project_path
(
project
)
expect
(
page
).
to
have_content
'You are on a secondary
(read-only) Geo
node.'
expect
(
page
).
to
have_content
'You are on a secondary
, read-only Geo node. If you want to make changes, you must visit this page on the primary
node.'
end
end
end
...
...
ee/spec/features/read_only_spec.rb
View file @
7994902c
...
...
@@ -16,6 +16,6 @@ describe 'Geo read-only message' do
visit
root_dashboard_path
expect
(
page
).
to
have_content
(
'You are on a secondary
(read-only) Geo node
'
)
expect
(
page
).
to
have_content
(
'You are on a secondary
, read-only Geo node. If you want to make changes, you must visit this page on the primary node.
'
)
end
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