Skip to content

Commit

Permalink
Update with improved test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErinClaudio committed Oct 6, 2023
1 parent 64b433b commit c0373a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/system/users_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class UsersTest < ApplicationSystemTestCase

test "non-authenticated user attempts to log out" do
visit root_url
click_on "Sign out"
refute has_button?("Sign out")
assert_equal current_path, root_path
assert_text "Rescue a really cute pet and be a hero"
end
end

0 comments on commit c0373a5

Please sign in to comment.