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
067c83ad
Commit
067c83ad
authored
Apr 19, 2019
by
Michael Kozono
Committed by
Stan Hu
Apr 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use geo tag, especially to avoid MySQL
parent
59dadb96
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
ee/spec/features/geo_node_spec.rb
ee/spec/features/geo_node_spec.rb
+1
-1
ee/spec/features/projects/geo_clone_instructions_spec.rb
ee/spec/features/projects/geo_clone_instructions_spec.rb
+1
-1
ee/spec/features/read_only_spec.rb
ee/spec/features/read_only_spec.rb
+1
-1
ee/spec/helpers/application_helper_spec.rb
ee/spec/helpers/application_helper_spec.rb
+1
-1
No files found.
ee/spec/features/geo_node_spec.rb
View file @
067c83ad
require
'spec_helper'
describe
'GEO Nodes'
do
describe
'GEO Nodes'
,
:geo
do
include
::
EE
::
GeoHelpers
set
(
:user
)
{
create
(
:user
)
}
...
...
ee/spec/features/projects/geo_clone_instructions_spec.rb
View file @
067c83ad
require
'rails_helper'
describe
'Geo clone instructions'
,
:js
do
describe
'Geo clone instructions'
,
:
geo
,
:
js
do
include
Devise
::
Test
::
IntegrationHelpers
include
::
EE
::
GeoHelpers
...
...
ee/spec/features/read_only_spec.rb
View file @
067c83ad
require
'rails_helper'
describe
'Geo read-only message'
do
describe
'Geo read-only message'
,
:geo
do
include
::
EE
::
GeoHelpers
set
(
:user
)
{
create
(
:user
)
}
...
...
ee/spec/helpers/application_helper_spec.rb
View file @
067c83ad
...
...
@@ -5,7 +5,7 @@ require 'spec_helper'
describe
ApplicationHelper
do
include
EE
::
GeoHelpers
describe
'#read_only_message'
do
describe
'#read_only_message'
,
:geo
do
context
'when not in a Geo secondary'
do
it
'returns a fallback message if database is readonly'
do
expect
(
Gitlab
::
Database
).
to
receive
(
:read_only?
)
{
true
}
...
...
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