Advice on writing Ruby tests for plugins

bin/rake autospec stops a lot of this fuffing around.

Simply run that … then save a spec file in your plugin.