Skip to content

Commit

Permalink
Fix typo in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thebugcatcher committed Oct 29, 2023
1 parent a80d07d commit ad8a4c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/heimdall_web/live/admin_dashboard_live_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ defmodule HeimdallWeb.AdminDashboardLiveTest do
AdminDashboardLive
)

assert html =~ "1 second"
assert html =~ "1s"

# Secret is visible after the form is submitted
assert view
|> element("form")
|> render_change(%{"update_frequency" => "5000"}) =~ "5 seconds"
|> render_change(%{"update_frequency" => "5000"}) =~ "5s"
end
end

Expand Down

0 comments on commit ad8a4c5

Please sign in to comment.