Skip to content
Snippets Groups Projects
Commit 9649f938 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix tests for web editor

parent 9011a322
No related branches found
No related tags found
Loading
Loading
Loading
@@ -28,5 +28,9 @@ Spinach.hooks.before_run do
RSpec::Mocks.setup
TestEnv.init(mailer: false)
 
# skip pre-receive hook check so we can use
# web editor and merge
TestEnv.disable_pre_receive
include FactoryGirl::Syntax::Methods
end
Loading
Loading
@@ -40,9 +40,6 @@ module TestEnv
# Setup GitLab shell for test instance
setup_gitlab_shell
 
# Skip pre-receive check so we can use web editor
disable_pre_receive
# Create repository for FactoryGirl.create(:project)
setup_factory_repo
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment