summaryrefslogtreecommitdiff
path: root/doc/development
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2019-08-29 17:56:52 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2019-08-30 12:26:18 +1000
commit19ff9d9899a9f1a69ca4cd9df357c7a9716edcbb (patch)
tree6a0618c5c08462cddff78b566ff97648ea30750a /doc/development
parent42484f55c1f3a09f4b01b2b432afd7b314456480 (diff)
downloadgitlab-ce-19ff9d9899a9f1a69ca4cd9df357c7a9716edcbb.tar.gz
Replace rails_helper.rb with spec_helper.rb66741-remove-spec-rails_helper-rb
rails_helper.rb's only logic was to require spec_helper.rb.
Diffstat (limited to 'doc/development')
-rw-r--r--doc/development/gotchas.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/gotchas.md b/doc/development/gotchas.md
index 941eea2609e..10e8008bad3 100644
--- a/doc/development/gotchas.md
+++ b/doc/development/gotchas.md
@@ -18,7 +18,7 @@ end
Consider the following API spec:
```ruby
-require 'rails_helper'
+require 'spec_helper'
describe API::Labels do
it 'creates a first label' do
@@ -69,7 +69,7 @@ is ok, but `create(:label, title: 'label1')` is not.
Following is the fixed API spec:
```ruby
-require 'rails_helper'
+require 'spec_helper'
describe API::Labels do
it 'creates a first label' do