Re: [rspec-users] Using Mechanize in Story Step Implementations

2007-10-25 Thread Jay Levitt
On 10/24/2007 4:42 PM, James Hughes wrote: > On 10/24/07, Andy Watts <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Thought this might be of interest story writers. >> The mechanize plugin seems to play nice with RSpec. >> The following mix of methods seems to work just fine. >> I especially like the help

Re: [rspec-users] Using Mechanize in Story Step Implementations

2007-10-24 Thread David Chelimsky
On 10/24/07, James Hughes <[EMAIL PROTECTED]> wrote: > On 10/24/07, Andy Watts <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Thought this might be of interest story writers. > > The mechanize plugin seems to play nice with RSpec. > > The following mix of methods seems to work just fine. > > I espe

Re: [rspec-users] Using Mechanize in Story Step Implementations

2007-10-24 Thread James Hughes
On 10/24/07, Andy Watts <[EMAIL PROTECTED]> wrote: > > Hi, > > Thought this might be of interest story writers. > The mechanize plugin seems to play nice with RSpec. > The following mix of methods seems to work just fine. > I especially like the helpers for populating forms. > > agent = WWW::Mechan

[rspec-users] Using Mechanize in Story Step Implementations

2007-10-24 Thread Andy Watts
Hi, Thought this might be of interest story writers. The mechanize plugin seems to play nice with RSpec. The following mix of methods seems to work just fine. I especially like the helpers for populating forms. agent = WWW::Mechanize.new page = agent.get 'http://www.gmail.com' page.should have_t