When I alter a file (app/models/batch.rb) guard runs the related spec (spec/models/batch_spec.rb) as it should, but the code it uses for the test is the original file and not the modified file. This means that I have to reload guard every time I change a file. I've just installed guard/spork and I thought it worked when I first had it running.
Ok, strange problem here.
When I alter a file (app/models/batch.rb) guard runs the related spec (spec/models/batch_spec.rb) as it should, but the code it uses for the test is the original file and not the modified file. This means that I have to reload guard every time I change a file. I've just installed guard/spork and I thought it worked when I first had it running.
Here's my Guardfile : https://gist.github.com/cmrichards/13d1cf78a80fedc25b7b and here's my spec/spec_helper.rb : https://gist.github.com/cmrichards/48582404b99f218bab1d