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 warning: instance variable @accepting_invitation not initialized #776

Open
stevejc opened this issue Dec 28, 2018 · 2 comments
Open

Comments

@stevejc
Copy link

stevejc commented Dec 28, 2018

The following warning is coming up when I run my tests in Rspec

rvm/gems/ruby-2.5.1/gems/devise_invitable-1.7.4/lib/devise_invitable/models.rb:116: warning: instance variable @accepting_invitation not initialized

@btoone
Copy link

btoone commented Mar 12, 2021

Same. Google brought me here. Weird.

/.asdf/installs/ruby/2.5.8/lib/ruby/gems/2.5.0/gems/devise_invitable-2.0.3/lib/devise_invitable/models.rb:125: warning: instance variable @accepting_invitation not initialized

@btoone
Copy link

btoone commented Mar 21, 2021

For other Googlers that find this, you can suppress warnings if desired using the ruby-warning gem. Helpful article here 👉
https://dev.to/qortex/ruby-suppress-those-warnings-you-can-t-do-anything-about-6ie

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

2 participants