summaryrefslogtreecommitdiff
path: root/doc/development/testing.md
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-08-03 07:32:17 +0000
committerRémy Coutable <remy@rymai.me>2017-08-03 07:32:17 +0000
commitf15e7642c1f47d809b9bfdcc4e172c18e7393624 (patch)
treef708075a2c212d9fc99df04aed7be2452b046dd6 /doc/development/testing.md
parent43c015472b5f85f7f345c825687a562f4cb3a13d (diff)
parent72a7b30c9f363063449b28aa9efc3a26a1752f9f (diff)
downloadgitlab-ce-f15e7642c1f47d809b9bfdcc4e172c18e7393624.tar.gz
Merge branch 'rs-empty_project-default' into 'master'
Empty project factory by default See merge request !13260
Diffstat (limited to 'doc/development/testing.md')
-rw-r--r--doc/development/testing.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/development/testing.md b/doc/development/testing.md
index e6aa4ae8f2f..3d5aa3d45e9 100644
--- a/doc/development/testing.md
+++ b/doc/development/testing.md
@@ -426,8 +426,6 @@ Here are some things to keep in mind regarding test performance:
- `FactoryGirl.build(...)` and `.build_stubbed` are faster than `.create`.
- Don't `create` an object when `build`, `build_stubbed`, `attributes_for`,
`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
Spinach or `:js` in RSpec) unless it's _actually_ required for the test
to be valid. Headless browser testing is slow!