1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/features
Daniel Colson bf04aaa068 Autocorrect all static attributes to dynamic
Most of this was fixed by adding the `attribute-defined-statically-cop`
branch of `thoughtbot/rubocop-rspec` to the Gemfile and running:

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

I had to update the cucumber tests manually, and I realized our changes
don't handle `ignore` blocks or blocks with arity 1 that use the yielded
DefinitionProxy. I will update
https://github.com/rubocop-hq/rubocop-rspec/pull/666to handle these
cases.
2018-09-14 19:27:13 +00:00
..
step_definitions Replace 'girl' with 'bot' everywhere (#1051) 2017-10-20 15:20:28 -04:00
support Replace 'girl' with 'bot' everywhere (#1051) 2017-10-20 15:20:28 -04:00
find_definitions.feature Autocorrect all static attributes to dynamic 2018-09-14 19:27:13 +00:00