thoughtbot--factory_bot_rails/spec
yuuji.yaginuma 9b83f482b5 Do not register a reloader when file paths not exist
If all the paths specified in `FactoryBot.definition_file_paths` do not
exist, an empty array is passed to the reloader.

If an empty array is specified, reloader passes it to `Listen.to` as it
is. This causes the application root to be watched and `node_modules` to
become a target of listening.

The behavior when an empty array is passed to reloader depends on the
Rails side. Fixes to not register a reloader when file paths do not exist
consistent behavior regardless of Rails side.

Fixes #328.
2019-04-09 10:39:51 -04:00
..
factory_bot_rails Do not register a reloader when file paths not exist 2019-04-09 10:39:51 -04:00
fixtures Allow reloading of factory definitions 2018-09-08 02:21:47 +00:00
fake_app.rb Allow reloading of factory definitions 2018-09-08 02:21:47 +00:00
spec_helper.rb Allow reloading of factory definitions 2018-09-08 02:21:47 +00:00