Skip to content

Error when running a request test in isolation #2858

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

Open
eddierubeiz opened this issue Jan 21, 2025 · 1 comment
Open

Error when running a request test in isolation #2858

eddierubeiz opened this issue Jan 21, 2025 · 1 comment
Assignees
Labels
infrastructure related to heroku, AWS, etc deploy/operational infrastructure

Comments

@eddierubeiz
Copy link
Contributor

On the master branch, running:
bin/rspec spec/requests/auth_controller_spec.rb fails with error:

undefined local variable or method `user_entra_id_omniauth_callback_path`

Meanwhile, /rspec spec/requests` works fine.
Investigate.

@eddierubeiz eddierubeiz self-assigned this Jan 21, 2025
@eddierubeiz eddierubeiz added the infrastructure related to heroku, AWS, etc deploy/operational infrastructure label Jan 21, 2025
@jrochkind
Copy link
Contributor

Doh!

Must have something to do with the stuff we added for SSO sign-on.

And perhaps Rails 8 and devise/omniauth bug.

There was something that reminded me of this that was a bug in devise that I patched as part of Rails 8 upgrade, here:

ebdb181

And see devise at: heartcombo/devise#5728

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure related to heroku, AWS, etc deploy/operational infrastructure
Projects
Status: Inbox
Development

No branches or pull requests

2 participants