diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-08-02 15:26:16 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-08-02 15:26:16 -0400 |
commit | 64d6a48b56f92b0d0f24e1fd2c6369d15e08a8f4 (patch) | |
tree | e84922905274ca9fd84b96a70ed43f6706bca061 /doc/development/testing.md | |
parent | cf39d282a3c1ba2a5ce6e918c5144a05e2c06fee (diff) | |
download | gitlab-ce-64d6a48b56f92b0d0f24e1fd2c6369d15e08a8f4.tar.gz |
Remove documentation about `:empty_project` since we're removing it
Diffstat (limited to 'doc/development/testing.md')
-rw-r--r-- | doc/development/testing.md | 2 |
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! |