[rspec-users] How to spec the existence of specs
Joseph Wilk
lists at ruby-forum.com
Fri Aug 29 05:06:38 EDT 2008
>Each method generates specs depending on its arguments
How does each method generate the specs?
* Using script/generate rspec...
or
* File handling and writing your own?
--
Joseph Wilk
http://www.joesniff.co.uk
Nick Hoffman wrote:
> I'm writing a Rails plugin that generates specs for Rails models.
> Obviously, I want to use RSpec to spec this plugin.
>
> The plugin, called ModelSpeccer, contains a module with three methods.
> Each method generates specs depending on its arguments. How can my
> plugin's specs check that each method in ModelSpeccer created the
> correct specs?
>
> Thanks,
> Nick
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list