You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rspec-rails lacks a corresponding generator to the authentication system generator added by Rails 8.0.0 which can be run by bin/rails generate authentication, and produce an error.
Expected behaviour
rspec-rails generates boilerplate specs corresponding to the authentication system generator when you run bin/rails generate authentication.
Can you provide an example reproduction?
Initialize a fresh rails app with rails new --skip-test sample-app
Add rspec-rails to the Gemfile and run bundle install
Run bin/rails generate authentication
Command ends with error rspec [not found] like below:
What Ruby, Rails and RSpec versions are you using?
Ruby version: 3.3.6
Rails version: 8.0.0
RSpec version: rspec-rails 7.0.1
Observed behaviour
rspec-rails lacks a corresponding generator to the authentication system generator added by Rails 8.0.0 which can be run by
bin/rails generate authentication
, and produce an error.Expected behaviour
rspec-rails generates boilerplate specs corresponding to the authentication system generator when you run
bin/rails generate authentication
.Can you provide an example reproduction?
rails new --skip-test sample-app
rspec-rails
to the Gemfile and runbundle install
bin/rails generate authentication
error rspec [not found]
like below:The text was updated successfully, but these errors were encountered: