summaryrefslogtreecommitdiff
path: root/spec/support/gitaly.rb
blob: 89fb362cf1403773be863ecf2fc60a68ed228284 (plain)
1
2
3
4
5
6
RSpec.configure do |config|
  config.before(:each) do |example|
    next if example.metadata[:skip_gitaly_mock]
    allow(Gitlab::GitalyClient).to receive(:feature_enabled?).and_return(true)
  end
end