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:
authorSarah German <sgerman@gitlab.com>2023-04-05 05:45:33 +0300
committerMarcel Amirault <mamirault@gitlab.com>2023-04-05 05:45:33 +0300
commit5c2de1e6fb845e06d30429c13d1535351c83056c (patch)
treefcb7af44a3918bf7cb1eced24696c45b91a096ac /spec
parent4aa63148f3b09f1876b54915857bcaf0e6b9dad6 (diff)
Rename mock navigation YAML file
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/fixtures/navigation-mock.yaml (renamed from spec/lib/fixtures/navigation.yaml)0
-rw-r--r--spec/lib/helpers/generic_spec.rb2
2 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/fixtures/navigation.yaml b/spec/lib/fixtures/navigation-mock.yaml
index 2723d376..2723d376 100644
--- a/spec/lib/fixtures/navigation.yaml
+++ b/spec/lib/fixtures/navigation-mock.yaml
diff --git a/spec/lib/helpers/generic_spec.rb b/spec/lib/helpers/generic_spec.rb
index 2d80e920..0ed21853 100644
--- a/spec/lib/helpers/generic_spec.rb
+++ b/spec/lib/helpers/generic_spec.rb
@@ -26,7 +26,7 @@ RSpec.describe Nanoc::Helpers::Generic do
end
before do
- mock_items = { '/_data/navigation.yaml' => YAML.load_file('spec/lib/fixtures/navigation.yaml', symbolize_names: true) }
+ mock_items = { '/_data/navigation.yaml' => YAML.load_file('spec/lib/fixtures/navigation-mock.yaml', symbolize_names: true) }
mock_sections = mock_items['/_data/navigation.yaml'][:sections]
allow(mock_class).to receive(:get_nav_sections).and_return(mock_sections)
end