debian-mirror-gitlab/spec/support/gitaly.rb

7 lines
201 B
Ruby
Raw Normal View History

2017-09-10 17:25:29 +05:30
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)
2017-08-17 22:00:37 +05:30
end
end