Skip to content

Commit

Permalink
fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
skyporter committed Apr 27, 2024
1 parent f84d4b8 commit 63eb067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/helpers/navbar_helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class NavbarHelperTest < ActionView::TestCase
:active_when => { :controller => "users" })

assert_equal(
'<li class="nav-item active"><a title="foo" class="nav-link" href="http://example.com">Test</a></li>',
'<li class="nav-item"><a title="foo" class="nav-link active" href="http://example.com">Test</a></li>',
tag
)
end
Expand All @@ -27,7 +27,7 @@ class NavbarHelperTest < ActionView::TestCase
:active_when => { :controller => /^user.*/ })

assert_equal(
'<li class="nav-item active"><a class="nav-link" href="http://example.com">Test</a></li>',
'<li class="nav-item"><a class="nav-link active" href="http://example.com">Test</a></li>',
tag
)
end
Expand Down

0 comments on commit 63eb067

Please sign in to comment.