Skip to content

Commit

Permalink
ESY-6479 Update test spec
Browse files Browse the repository at this point in the history
  • Loading branch information
m-lilja committed Mar 26, 2024
1 parent 56d9094 commit 8f799bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sidebar_html_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def sub_items_markup(page, current_page)

"<ul class=\"#{page.level.zero? ? 'secondary-nav-ul' : ''}\">
#{if page.level.positive? && page.children?
"<a href=\"../#\" class=\"previous-nav\">
"<a href=\"..\" class=\"previous-nav\">
<i class=\"material-icons\" aria-hidden=\"true\">arrow_back_ios</i>
<span>Back to #{page.parent.title}</span>
</a>
Expand Down
3 changes: 2 additions & 1 deletion spec/support/verifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def options
typheous: { verbose: true },
url_ignore: [
'http://www.wikipedia.org',
'http://restcookbook.com/Basics/loggingin/'
'http://restcookbook.com/Basics/loggingin/',
'..'
],
href_ignore: [
'#',
Expand Down

0 comments on commit 8f799bf

Please sign in to comment.