On 1 Feb 2010, at 15:14, Phillip Koebbe wrote:

I have just recently started creating some plugins, mainly of the controller variety. I have been looking for a tutorial or other documentation detailing how to go about testing these plugins with RSpec, but have not yet found anything helpful. Can anyone point me toward such a thing?

Create a controller in your specs which uses the plugin in an exemplary way, then asserts the behaviour of that controller.

cheers,
Matt

http://mattwynne.net
+447974 430184

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to