Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSpec for Rails 8 Authentication #2819

Closed
BlazingRockStorm opened this issue Dec 10, 2024 · 2 comments
Closed

RSpec for Rails 8 Authentication #2819

BlazingRockStorm opened this issue Dec 10, 2024 · 2 comments

Comments

@BlazingRockStorm
Copy link

Rails 8 introduces a basic authentication generator with the default test file:

test/mailers/previews/passwords_mailer_preview.rb

It just the password mailer test by Minitest

I think it is a good idea to add RSpec generator for Rails 8 built-in authenticator.

For the time being, the tests is only for sign in, sign out and reset password features.

If being approved by the RSpec team, I will make a pull request.

@pirj
Copy link
Member

pirj commented Dec 10, 2024

Sounds like a reasonable addition. A PR is welcome.

@JonRowe
Copy link
Member

JonRowe commented Dec 10, 2024

This was added in #2811 it just hasn't been released yet

@JonRowe JonRowe closed this as completed Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants