gitlab-org--gitlab-foss/spec/support/gitaly.rb
2017-07-07 12:48:34 +02:00

6 lines
201 B
Ruby

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