diff options
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.rb | 2 |
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 |