Skip to content

Commit

Permalink
Successfully able to run tests locally
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklynhma committed Dec 26, 2024
1 parent 96cba03 commit 34b18b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "application_system_test_case"
require "test_helper"

class ProfileTest < ApplicationSystemTestCase
class AuthorizingProfileUpdateTest < ApplicationSystemTestCase
setup do
@user = create(:user, email: "nick@example.com", password: PasswordHelpers::SECURE_TEST_PASSWORD, handle: "nick1", mail_fails: 1)
end
Expand Down Expand Up @@ -29,7 +29,7 @@ def sign_in
# Verify that the newly added Twitter username is still on the form so that the user does not need to re-enter it
assert_equal twitter_username, page.find_by_id("user_twitter_username").value

fill_in "Password", with: PasswordHelpers::SECURE_TEST_PASSWORD
fill_in "Password", with: @user.password
click_button "Update"

assert page.has_content? "Your profile was updated."
Expand Down

0 comments on commit 34b18b7

Please sign in to comment.