Fix small typos on specs

parent 5ad456f0
......@@ -108,7 +108,7 @@ describe Gitlab::Geo::LogCursor::Daemon do
end
end
context 'when node have namespace restrictions' do
context 'when node has namespace restrictions' do
let(:geo_node) { create(:geo_node, :current) }
let(:group_1) { create(:group) }
let(:group_2) { create(:group) }
......
......@@ -75,7 +75,7 @@ describe Geo::FileDownloadDispatchWorker do
end
end
context 'when node have namespace restrictions' do
context 'when node has namespace restrictions' do
let(:group_1) { create(:group) }
let!(:project_1) { create(:empty_project, group: group_1) }
let!(:project_2) { create(:empty_project) }
......
......@@ -7,7 +7,7 @@ describe Geo::RepositoriesCleanUpWorker do
let!(:project_2) { create(:empty_project) }
describe '#perform' do
context 'when node have namespace restrictions' do
context 'when node has namespace restrictions' do
it 'performs GeoRepositoryDestroyWorker for each project that do not belong to selected namespaces to replicate' do
geo_node.update_attribute(:namespaces, [group])
......
......@@ -64,7 +64,7 @@ describe Geo::RepositorySyncWorker do
subject.perform
end
context 'when node have namespace restrictions' do
context 'when node has namespace restrictions' do
before do
secondary.update_attribute(:namespaces, [group])
end
......
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