Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
features/support/env.rb
features/support/env.rb
+4
-0
spec/support/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