Another way to do it is via the rake task
https://github.com/discourse/discourse/blob/master/lib/tasks/plugin.rake#L47-L48
bundle exec rake plugin:spec["poll"]