thoughtbot--factory_bot/spec
Julien Vanier e84bfeba9b Deprecate factory lookup by class
This PR deprecates the ability to look up a factory based on class instead of symbol.

- The acceptance test `keyed_by_class_spec.rb` tests lookup by class
- Add flag `allow_class_lookup` (default `true`)
- Show a deprecation on class lookup warning when flag is true
- Raise an exception on class lookup when flag is false
- Silence deprecation warnings in tests

Fixes #871

Revert Hound formatting recommendation
2016-03-09 05:29:15 -05:00
..
acceptance Deprecate factory lookup by class 2016-03-09 05:29:15 -05:00
factory_girl Deprecate factory lookup by class 2016-03-09 05:29:15 -05:00
support Deprecate factory lookup by class 2016-03-09 05:29:15 -05:00
factory_girl_spec.rb Convert to expect syntax 2013-01-18 13:58:36 -05:00
spec_helper.rb Upgrade RSpec and other testing gems 2016-02-07 00:14:25 -05:00