remove gitolite stub
This commit is contained in:
parent
935b6ae653
commit
c75fc9c7a6
3 changed files with 21 additions and 24 deletions
|
@ -24,7 +24,6 @@ RSpec.configure do |config|
|
|||
config.mock_with :rspec
|
||||
|
||||
config.include LoginHelpers, type: :request
|
||||
config.include GitoliteStub
|
||||
config.include FactoryGirl::Syntax::Methods
|
||||
config.include Devise::TestHelpers, type: :controller
|
||||
|
||||
|
@ -34,8 +33,6 @@ RSpec.configure do |config|
|
|||
config.use_transactional_fixtures = false
|
||||
|
||||
config.before do
|
||||
stub_gitolite!
|
||||
|
||||
# Use tmp dir for FS manipulations
|
||||
temp_repos_path = Rails.root.join('tmp', 'test-git-base-path')
|
||||
Gitlab.config.gitolite.stub(repos_path: temp_repos_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue