Displaying 1 result from an estimated 1 matches for "comment_plugin".
2007 Aug 03
2
Plugins ''speced'' with rSpec?
...current rails
project.
What I mean is this, let''s say I have a comment plugin. This has two things
in lib, the comment model (comment.rb) and then the module ruby file for
methods.
I''m trying to figure out how I would spec this out in the actual plugin
directory (vendor/plugins/comment_plugin/spec). What would my spec_helper
look like? How would I spec that it works? Why I''m saying this is because I
can''t use any of the /app/models/ in the rails project because that is
specific to a rails project, I''m trying to isolate it into the plugin. How
would I fake a mo...