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
I'm trying to update rubocop after getting the following deprecation warning when running my spec:
"DEPRECATION WARNING: Static attributes will be removed in FactoryBot 5.0. Please use dynamic
attributes instead by wrapping the attribute value in a block:
admin{true}
To automatically update from static attributes to dynamic ones,
install rubocop-rspec and run:
I'm trying to update rubocop after getting the following deprecation warning when running my spec:
I've installed the rubocop gem successfully but when I run 'rubocop --require rubocop-rspec" as above I get a failure.
Mention the following information in the issue report:
0.61.1 (using Parser 2.5.3.0, running on ruby 2.3.4 x86_64-linux)`
It's actually much longer but I'm not sure how to get the whole backtrace to come up in the terminal so I can copy/paste it across.
Thanks!
The text was updated successfully, but these errors were encountered: