views:

173

answers:

2

I'm creating a plugin, and am looking to use RSpec so I can build it using BDD. Is there a recommended method of doing this?

A: 

For an example of an existing plugin that uses rspec, check out the restful_authentication plugin. Maybe it will help.

Dan Harper - Leopard CRM
I think I see what you mean, unfortunately, as restful auth is a generator, the specs are generated in the app that the generator is run against. I'm looking to build the specs within the plugin itself as an alternative to using the regular built-in unit/functional tests.
Mr. Matt
+1  A: 
Mr. Matt