Skip to content

Commit

Permalink
Fix broken system test
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinthinks committed Sep 27, 2023
1 parent 0e0a6d1 commit 1d5e2b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions app/views/layouts/dashboard.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="vh-100 simplebar-scrollable-x simplebar-scrollable-y" data-simplebar="init"><div class="simplebar-wrapper" style="margin: 0px;"><div class="simplebar-height-auto-observer-wrapper"><div class="simplebar-height-auto-observer"></div></div><div class="simplebar-mask"><div class="simplebar-offset" style="right: 0px; bottom: 0px;"><div class="simplebar-content-wrapper" tabindex="0" role="region" aria-label="scrollable content" style="height: 100%; overflow: scroll;"><div class="simplebar-content" style="padding: 0px;">
<!-- Brand logo -->
<a class="navbar-brand" href="../../index.html">
<img src="../../assets/images/brand/logo/logo-inverse.svg" alt="">
<img src="" alt="">
</a>
<!-- Navbar nav -->
<ul class="navbar-nav flex-column" id="sideNavbar">
Expand Down Expand Up @@ -367,7 +367,7 @@
<div class="col">
<a class="text-body" href="#">
<div class="d-flex">
<img src="../../assets/images/avatar/avatar-1.jpg" alt="" class="avatar-md rounded-circle">
<img src="" alt="" class="avatar-md rounded-circle">
<div class="ms-3">
<h5 class="fw-bold mb-1">Kristin Watson:</h5>
<p class="mb-3">
Expand Down Expand Up @@ -398,7 +398,7 @@
<div class="col">
<a class="text-body" href="#">
<div class="d-flex">
<img src="../../assets/images/avatar/avatar-2.jpg" alt="" class="avatar-md rounded-circle">
<img src="" alt="" class="avatar-md rounded-circle">
<div class="ms-3">
<h5 class="fw-bold mb-1">Brooklyn Simmons</h5>
<p class="mb-3">
Expand All @@ -423,7 +423,7 @@
<div class="col">
<a class="text-body" href="#">
<div class="d-flex">
<img src="../../assets/images/avatar/avatar-3.jpg" alt="" class="avatar-md rounded-circle">
<img src="" alt="" class="avatar-md rounded-circle">
<div class="ms-3">
<h5 class="fw-bold mb-1">Jenny Wilson</h5>
<p class="mb-3">
Expand All @@ -449,7 +449,7 @@
<div class="col">
<a class="text-body" href="#">
<div class="d-flex">
<img src="../../assets/images/avatar/avatar-4.jpg" alt="" class="avatar-md rounded-circle">
<img src="" alt="" class="avatar-md rounded-circle">
<div class="ms-3">
<h5 class="fw-bold mb-1">Sina Ray</h5>
<p class="mb-3">
Expand Down Expand Up @@ -483,14 +483,14 @@
<li class="dropdown ms-2">
<a class="rounded-circle" href="#" role="button" id="dropdownUser" data-bs-toggle="dropdown" aria-expanded="false">
<div class="avatar avatar-md avatar-indicators avatar-online">
<img alt="avatar" src="../../assets/images/avatar/avatar-1.jpg" class="rounded-circle">
<img alt="avatar" src="" class="rounded-circle">
</div>
</a>
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="dropdownUser">
<div class="dropdown-item">
<div class="d-flex">
<div class="avatar avatar-md avatar-indicators avatar-online">
<img alt="avatar" src="../../assets/images/avatar/avatar-1.jpg" class="rounded-circle">
<img alt="avatar" src="" class="rounded-circle">
</div>
<div class="ms-3 lh-1">
<h5 class="mb-1">Annette Black</h5>
Expand Down Expand Up @@ -577,4 +577,4 @@
</main>
</div>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion test/system/login_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LoginTest < ApplicationSystemTestCase
click_on "Log in"

assert current_path.include?(@user.organization.slug)
assert current_path.has_content?("Dashboard")
assert_equal current_path, dashboard_index_path
end
end
end

0 comments on commit 1d5e2b1

Please sign in to comment.