Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-23 00:08:42 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-23 00:08:42 +0300
commit2319d04d069d5e066e35cc44035239b21d3fae32 (patch)
treed2f1c2a61686714fb93f0e91828a703f3a5d28b7 /doc/development/gotchas.md
parent7105e0c53e2af43bda34e69155599c3a5af4cc13 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/gotchas.md')
-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 7e08da8162b..34fe3f11489 100644
--- a/doc/development/gotchas.md
+++ b/doc/development/gotchas.md
@@ -20,7 +20,7 @@ Consider the following API spec:
```ruby
require 'spec_helper'
-describe API::Labels do
+RSpec.describe API::Labels do
it 'creates a first label' do
create(:label)
@@ -71,7 +71,7 @@ Following is the fixed API spec:
```ruby
require 'spec_helper'
-describe API::Labels do
+RSpec.describe API::Labels do
it 'creates a first label' do
create(:label, title: 'foo')