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

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2022-05-24 02:44:42 +0300
committerEvan Read <eread@gitlab.com>2022-05-24 02:44:42 +0300
commitff5978dc63b2c18715283f6612ef3a7552325a64 (patch)
treed4f35f0d694bd0440a9c4f8eb0076f3127e8a9fb /spec
parentad4797a00c43661f71d8b6a3ddbe2b08a215366b (diff)
Fix Lint/DeprecatedClassMethods RuboCop offenseseread/fix-deprecated-class-methods-rubocop-offenses
Diffstat (limited to 'spec')
-rw-r--r--spec/gitlab/docs/page_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab/docs/page_spec.rb b/spec/gitlab/docs/page_spec.rb
index 84cf581c..44454385 100644
--- a/spec/gitlab/docs/page_spec.rb
+++ b/spec/gitlab/docs/page_spec.rb
@@ -15,7 +15,7 @@ describe Gitlab::Docs::Page do
context 'when file exists' do
before do
- allow(File).to receive(:exists?)
+ allow(File).to receive(:exist?)
.with('some/file.html')
.and_return(true)