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
5d23d9fa
Commit
5d23d9fa
authored
Jul 29, 2020
by
Mike Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused shared examples
parent
92156021
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
ee/spec/lib/gitlab/geo/replicator_spec.rb
ee/spec/lib/gitlab/geo/replicator_spec.rb
+0
-12
No files found.
ee/spec/lib/gitlab/geo/replicator_spec.rb
View file @
5d23d9fa
...
@@ -8,18 +8,6 @@ RSpec.describe Gitlab::Geo::Replicator do
...
@@ -8,18 +8,6 @@ RSpec.describe Gitlab::Geo::Replicator do
let_it_be
(
:primary_node
)
{
create
(
:geo_node
,
:primary
)
}
let_it_be
(
:primary_node
)
{
create
(
:geo_node
,
:primary
)
}
let_it_be
(
:secondary_node
)
{
create
(
:geo_node
)
}
let_it_be
(
:secondary_node
)
{
create
(
:geo_node
)
}
shared_examples
'does not replicate'
do
it
'returns nil'
do
expect
(
subject
.
publish
(
:test
,
other:
true
)).
to
be_nil
end
it
'does not call create_event'
do
expect
(
subject
).
not_to
receive
(
:create_event_with
)
subject
.
publish
(
:test
,
other:
true
)
end
end
before
(
:all
)
do
before
(
:all
)
do
create_dummy_model_table
create_dummy_model_table
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