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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
64d6a48b
Commit
64d6a48b
authored
Aug 02, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove documentation about `:empty_project` since we're removing it
parent
cf39d282
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
doc/development/testing.md
doc/development/testing.md
+0
-2
No files found.
doc/development/testing.md
View file @
64d6a48b
...
@@ -426,8 +426,6 @@ Here are some things to keep in mind regarding test performance:
...
@@ -426,8 +426,6 @@ Here are some things to keep in mind regarding test performance:
-
`FactoryGirl.build(...)`
and
`.build_stubbed`
are faster than
`.create`
.
-
`FactoryGirl.build(...)`
and
`.build_stubbed`
are faster than
`.create`
.
-
Don't
`create`
an object when
`build`
,
`build_stubbed`
,
`attributes_for`
,
-
Don't
`create`
an object when
`build`
,
`build_stubbed`
,
`attributes_for`
,
`spy`
, or
`double`
will do. Database persistence is slow!
`spy`
, or
`double`
will do. Database persistence is slow!
-
Use
`create(:empty_project)`
instead of
`create(:project)`
when you don't need
the underlying Git repository. Filesystem operations are slow!
-
Don't mark a feature as requiring JavaScript (through
`@javascript`
in
-
Don't mark a feature as requiring JavaScript (through
`@javascript`
in
Spinach or
`:js`
in RSpec) unless it's _actually_ required for the test
Spinach or
`:js`
in RSpec) unless it's _actually_ required for the test
to be valid. Headless browser testing is slow!
to be valid. Headless browser testing is slow!
...
...
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