Skip to content

Commit

Permalink
add html_escape and rename files to allow tests to run locally
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklynhma committed Dec 14, 2024
1 parent e32708b commit 252611a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 40 deletions.
2 changes: 1 addition & 1 deletion app/views/profiles/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<%=
link_to(
truncate(@user.homepage_url,length: 20),
@user.homepage_url,
h(@user.homepage_url),
rel: "nofollow",
class: "profile__header__attribute t-link--black",
data: { confirm: "Are you sure?" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "application_system_test_case"
require "test_helper"

class AuthorizingProfileUpdate < ApplicationSystemTestCase
class AuthorizingProfileUpdateTest < ApplicationSystemTestCase
setup do
@user = create(:user, email: "[email protected]", password: PasswordHelpers::SECURE_TEST_PASSWORD, handle: "nick1", mail_fails: 1)
end
Expand Down
38 changes: 0 additions & 38 deletions test/system/profile_test.rb

This file was deleted.

0 comments on commit 252611a

Please sign in to comment.