We at Pavilion have had issues running/debugging tests and saw errors with the poll plugin while running tests. We use to think its some issue with the plugin itself but its not.
The issue was that the migrations of poll plugin hadn’t run. Running RAILS_ENV=test rake db:migrate LOAD_PLUGINS=1 fixed it.
Just wondering that the rake task should LOAD_PLUGINS as a default?
Thanks for the tip. binstubs are super cool. I’ve read you say this somewhere but didn’t realize the utility of that.
Do you think monkey patching the task is taking things too far?