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
92156021
Commit
92156021
authored
Jul 29, 2020
by
Mike Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add in_replicables_for_geo_node? test
parent
6243a93b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
ee/spec/lib/gitlab/geo/replicable_model_spec.rb
ee/spec/lib/gitlab/geo/replicable_model_spec.rb
+8
-0
No files found.
ee/spec/lib/gitlab/geo/replicable_model_spec.rb
View file @
92156021
...
...
@@ -42,4 +42,12 @@ RSpec.describe Gitlab::Geo::ReplicableModel do
expect
(
subject
.
replicator
).
to
be_a
(
Geo
::
DummyReplicator
)
end
end
describe
'#in_replicables_for_geo_node?'
do
it
'reuses replicables_for_geo_node'
do
expect
(
DummyModel
).
to
receive
(
:replicables_for_geo_node
).
once
.
and_return
(
DummyModel
.
all
)
subject
.
in_replicables_for_geo_node?
end
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