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
aed6f7ea
Commit
aed6f7ea
authored
Aug 05, 2020
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor specs to remove the geo_fdw tag
Since Gitlab 13.2, Geo don't rely on FDW
parent
6194f199
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
10 deletions
+10
-10
ee/spec/features/admin/geo/admin_geo_projects_spec.rb
ee/spec/features/admin/geo/admin_geo_projects_spec.rb
+3
-3
ee/spec/features/admin/geo/admin_geo_uploads_spec.rb
ee/spec/features/admin/geo/admin_geo_uploads_spec.rb
+2
-2
ee/spec/models/geo/upload_registry_spec.rb
ee/spec/models/geo/upload_registry_spec.rb
+1
-1
ee/spec/models/geo_node_status_spec.rb
ee/spec/models/geo_node_status_spec.rb
+1
-1
ee/spec/requests/api/geo_nodes_spec.rb
ee/spec/requests/api/geo_nodes_spec.rb
+1
-1
ee/spec/requests/api/geo_replication_spec.rb
ee/spec/requests/api/geo_replication_spec.rb
+1
-1
ee/spec/tasks/geo_rake_spec.rb
ee/spec/tasks/geo_rake_spec.rb
+1
-1
No files found.
ee/spec/features/admin/geo/admin_geo_projects_spec.rb
View file @
aed6f7ea
...
...
@@ -34,7 +34,7 @@ RSpec.describe 'admin Geo Projects', :js, :geo do
end
end
describe
'searching for a geo project'
,
:geo_fdw
do
describe
'searching for a geo project'
do
it
'filters out projects with the search term'
do
fill_in
:name
,
with:
synced_registry
.
project
.
name
find
(
'#project-filter-form-field'
).
native
.
send_keys
(
:enter
)
...
...
@@ -51,7 +51,7 @@ RSpec.describe 'admin Geo Projects', :js, :geo do
end
end
describe
'with no registries'
,
:geo_fdw
do
describe
'with no registries'
do
it
'shows empty state'
do
fill_in
:name
,
with:
'asdfasdf'
find
(
'#project-filter-form-field'
).
native
.
send_keys
(
:enter
)
...
...
@@ -90,7 +90,7 @@ RSpec.describe 'admin Geo Projects', :js, :geo do
end
end
describe
'searching for a geo project'
,
:geo_fdw
do
describe
'searching for a geo project'
do
it
'finds the project with the same name'
do
fill_in
:name
,
with:
sync_pending_registry
.
project
.
name
find
(
'#project-filter-form-field'
).
native
.
send_keys
(
:enter
)
...
...
ee/spec/features/admin/geo/admin_geo_uploads_spec.rb
View file @
aed6f7ea
...
...
@@ -24,7 +24,7 @@ RSpec.describe 'admin Geo Uploads', :js, :geo do
end
end
describe
'searching for a geo upload'
,
:geo_fdw
do
describe
'searching for a geo upload'
do
it
'filters out uploads with the search term'
do
fill_in
:name
,
with:
synced_registry
.
file
find
(
'#project-filter-form-field'
).
native
.
send_keys
(
:enter
)
...
...
@@ -38,7 +38,7 @@ RSpec.describe 'admin Geo Uploads', :js, :geo do
end
end
describe
'with no registries'
,
:geo_fdw
do
describe
'with no registries'
do
it
'shows empty state'
do
fill_in
:name
,
with:
'asdfasdf'
find
(
'#project-filter-form-field'
).
native
.
send_keys
(
:enter
)
...
...
ee/spec/models/geo/upload_registry_spec.rb
View file @
aed6f7ea
...
...
@@ -2,7 +2,7 @@
require
'spec_helper'
RSpec
.
describe
Geo
::
UploadRegistry
,
:geo
,
:geo_fdw
do
RSpec
.
describe
Geo
::
UploadRegistry
,
:geo
do
include
EE
::
GeoHelpers
let!
(
:failed
)
{
create
(
:geo_upload_registry
,
:failed
)
}
...
...
ee/spec/models/geo_node_status_spec.rb
View file @
aed6f7ea
...
...
@@ -2,7 +2,7 @@
require
'spec_helper'
RSpec
.
describe
GeoNodeStatus
,
:geo
,
:geo_fdw
do
RSpec
.
describe
GeoNodeStatus
,
:geo
do
include
::
EE
::
GeoHelpers
let!
(
:primary
)
{
create
(
:geo_node
,
:primary
)
}
...
...
ee/spec/requests/api/geo_nodes_spec.rb
View file @
aed6f7ea
...
...
@@ -2,7 +2,7 @@
require
'spec_helper'
RSpec
.
describe
API
::
GeoNodes
,
:request_store
,
:geo
_fdw
,
:prometheus
,
api:
true
do
RSpec
.
describe
API
::
GeoNodes
,
:request_store
,
:geo
,
:prometheus
,
api:
true
do
include
ApiHelpers
include
::
EE
::
GeoHelpers
...
...
ee/spec/requests/api/geo_replication_spec.rb
View file @
aed6f7ea
...
...
@@ -2,7 +2,7 @@
require
'spec_helper'
RSpec
.
describe
API
::
GeoReplication
,
:request_store
,
:geo
,
:geo_fdw
,
api:
true
do
RSpec
.
describe
API
::
GeoReplication
,
:request_store
,
:geo
,
api:
true
do
include
ApiHelpers
include
::
EE
::
GeoHelpers
...
...
ee/spec/tasks/geo_rake_spec.rb
View file @
aed6f7ea
...
...
@@ -302,7 +302,7 @@ RSpec.describe 'geo rake tasks', :geo do
end
end
describe
'geo:status'
,
:geo_fdw
do
describe
'geo:status'
do
context
'without a valid license'
do
before
do
stub_licensed_features
(
geo:
false
)
...
...
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