Re: [rspec-users] rspec and prawn

2009-03-10 Thread Zach Dennis
On Tue, Mar 10, 2009 at 8:43 AM, Zach Dennis wrote: > On Mon, Mar 9, 2009 at 11:02 PM, 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") >> o

Re: [rspec-users] rspec and prawn

2009-03-10 Thread Phlip
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 test

Re: [rspec-users] rspec and prawn

2009-03-10 Thread Zach Dennis
On Mon, Mar 9, 2009 at 11:02 PM, 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

Re: [rspec-users] rspec and prawn

2009-03-10 Thread Phlip
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? In what language is prawn ou