Ignore specific files
Closed this issue · 2 comments
vitobotta commented
Hi! Is it possible somehow to ignore specific files, such as FactoryBot's factories? Thanks :)
dpaluy commented
There are 2 options I have found so far:
- When I use
create_list
, IProsopite.pause
- Overwrite
create_list
method to include the first solution
let(:articles) do
Prosopite.pause
articles = create_list(:articles, 4)
Prosopite.resume
articles
end
charkost commented
Prosopite.allow_stack_paths = ['substring_in_call_stack', /regex/]
Can probably do the job too.