Commit 067c83ad authored by Michael Kozono's avatar Michael Kozono Committed by Stan Hu

Use geo tag, especially to avoid MySQL

parent 59dadb96
require 'spec_helper'
describe 'GEO Nodes' do
describe 'GEO Nodes', :geo do
include ::EE::GeoHelpers
set(:user) { create(:user) }
......
require 'rails_helper'
describe 'Geo clone instructions', :js do
describe 'Geo clone instructions', :geo, :js do
include Devise::Test::IntegrationHelpers
include ::EE::GeoHelpers
......
require 'rails_helper'
describe 'Geo read-only message' do
describe 'Geo read-only message', :geo do
include ::EE::GeoHelpers
set(:user) { create(:user) }
......
......@@ -5,7 +5,7 @@ require 'spec_helper'
describe ApplicationHelper do
include EE::GeoHelpers
describe '#read_only_message' do
describe '#read_only_message', :geo do
context 'when not in a Geo secondary' do
it 'returns a fallback message if database is readonly' do
expect(Gitlab::Database).to receive(:read_only?) { true }
......
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