[rspec-users] rspec and prawn

aa aa lists at ruby-forum.com
Mon Mar 9 23:02:23 EDT 2009


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?
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list