BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
9649f938
Commit
9649f938
authored
Aug 14, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests for web editor
parent
9011a322
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
env.rb
features/support/env.rb
+4
-0
test_env.rb
spec/support/test_env.rb
+0
-3
No files found.
features/support/env.rb
View file @
9649f938
...
@@ -28,5 +28,9 @@ Spinach.hooks.before_run do
...
@@ -28,5 +28,9 @@ Spinach.hooks.before_run do
RSpec
::
Mocks
.
setup
RSpec
::
Mocks
.
setup
TestEnv
.
init
(
mailer:
false
)
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
include
FactoryGirl
::
Syntax
::
Methods
end
end
spec/support/test_env.rb
View file @
9649f938
...
@@ -40,9 +40,6 @@ module TestEnv
...
@@ -40,9 +40,6 @@ module TestEnv
# Setup GitLab shell for test instance
# Setup GitLab shell for test instance
setup_gitlab_shell
setup_gitlab_shell
# Skip pre-receive check so we can use web editor
disable_pre_receive
# Create repository for FactoryGirl.create(:project)
# Create repository for FactoryGirl.create(:project)
setup_factory_repo
setup_factory_repo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment