One thing I found was that I had to run rspec from the discourse root directory, rather than in the plugin directory
(ie, I have to do
cd ~/workspace/discourse
rspec plugins/babble/spec
rather than
cd ~/workspace/discourse/plugins/babble
rspec spec
)
This is probably a failing of my environment or my tests somehow, but don’t have motivation to find out why.