gitlab-org--gitlab-foss/spec/support/gitaly.rb

7 lines
190 B
Ruby

if Gitlab::GitalyClient.enabled?
RSpec.configure do |config|
config.before(:each) do
allow(Gitlab::GitalyClient).to receive(:feature_enabled?).and_return(true)
end
end
end