Skip to content

Conversation

@hachi8833
Copy link
Contributor

Motivation / Background

This Pull Request has been created because some steps to write tests need improvements.

Detail

This Pull Request changes:

  • SessionTestHelper to be consistent with 8-1-stable
  • add a step for updating test/fixtures/users.yml because the tests ("validates current password" and "sends email confirmation on successful update") depend on the updated test/fixtures/users.yml with first and last names to pass validations. If the first/last names are missing in test/fixtures/users.yml, the tests fail.

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one change. Unrelated changes should be opened in separate PRs.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
@github-actions github-actions bot added the docs label Oct 24, 2025
@rafaelfranca rafaelfranca merged commit 1998ec1 into rails:main Oct 24, 2025
3 of 4 checks passed
rafaelfranca added a commit that referenced this pull request Oct 24, 2025
[ci-skip][doc] Update steps for emails_controller_test.rb in sign_up_and_settings.md
@hachi8833 hachi8833 deleted the update_sign_up_and_settings branch October 24, 2025 17:32
hachi8833 added a commit to yasslab/railsguides.jp that referenced this pull request Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants