Closed alexch closed 11 years ago
Yeah adding spec/factories/**
to the guard-spork
watch list is the way to go, but I am not sure that is something we need to add in the template because not everybody use FactoryGirl. Don't you think?
Yeah, but not everybody uses Cucumber or RSpec either, and you support them. It's just a question of how far you want to go.
I don't really care one way or the other, since I don't use Guard personally, but I did find this problem when using rerun + spork + factorygirl (and "fixed" it in rerun's README :-)).
When using FactoryGirl and Spork, you occasionally get errors like
expected Account#12345 but got Account#67890
when a factory or model changes. guard-spork could fix this by addingspec/factories/**
to its watchlist.Or you could just use rerun's
rake spork
task instead :-)