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:
Diffstat (limited to 'spec/models/wiki_directory_spec.rb')
-rw-r--r--spec/models/wiki_directory_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/wiki_directory_spec.rb b/spec/models/wiki_directory_spec.rb
index c30e79f79ce..93e7ecd7646 100644
--- a/spec/models/wiki_directory_spec.rb
+++ b/spec/models/wiki_directory_spec.rb
@@ -33,18 +33,18 @@ RSpec.describe WikiDirectory do
expect(entries).to match(
[
- a_kind_of(WikiDirectory).and(
+ a_kind_of(described_class).and(
having_attributes(
slug: 'Home', entries: [homechild]
)
),
toplevel1,
- a_kind_of(WikiDirectory).and(
+ a_kind_of(described_class).and(
having_attributes(
slug: 'parent1', entries: [
child1,
child2,
- a_kind_of(WikiDirectory).and(
+ a_kind_of(described_class).and(
having_attributes(
slug: 'parent1/subparent',
entries: [grandchild1, grandchild2]
@@ -53,7 +53,7 @@ RSpec.describe WikiDirectory do
]
)
),
- a_kind_of(WikiDirectory).and(
+ a_kind_of(described_class).and(
having_attributes(
slug: 'parent2',
entries: [child3]