We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ℹ️ FYI, I get RSpec errors when using spring because the custom testing/rspec RSpec matchers aren't loaded.
testing/rspec
NameError: undefined local variable or method `act_as_enumerated'
and
expected #<...> to respond to `has_enumerated?`
My workaround is to add the the following to my rails config/environments/test.rb file:
config/environments/test.rb
config.to_prepare do require_dependency "testing/rspec" end
This is inspired by rails/spring#505 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
ℹ️ FYI, I get RSpec errors when using spring because the custom
testing/rspec
RSpec matchers aren't loaded.Errors
and
Fix
My workaround is to add the the following to my rails
config/environments/test.rb
file:Context
This is inspired by rails/spring#505 (comment)
The text was updated successfully, but these errors were encountered: