[rspec-users] rspec and prawn

Phlip phlip2005 at gmail.com
Tue Mar 10 08:27:05 EDT 2009

aa aa wrote:
> Hi,
> I've just started using prawn but am at a bit of a loss how to create my
> view specs for it.
> For example, my normal view spec has things like
> response.should have_tag("blah")
> or
> response.body.should =~ /something/
> How do I do this with prawn output?

How do prawn's own unit tests work?

More information about the rspec-users mailing list