rubycorns / rorganize.it

A web app to coordinate railsgirls project groups
https://rorganize.it
GNU Affero General Public License v3.0
41 stars 23 forks source link

FactoryBot deprecation warning #659

Closed lislis closed 6 years ago

lislis commented 6 years ago

We get

attributes instead by wrapping the attribute value in a block:

[...]

To automatically update from static attributes to dynamic ones,
install rubocop-rspec and run:

rubocop \
  --require rubocop-rspec \
  --only FactoryBot/AttributeDefinedStatically \
  --auto-correct

now. This needs updating in a bunch of specs