Refactor specs to remove the geo_fdw tag

Since Gitlab 13.2, Geo don't rely on FDW
parent 6194f199
......@@ -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)
......
......@@ -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)
......
......@@ -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) }
......
......@@ -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) }
......
......@@ -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
......
......@@ -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
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment