Re: [rspec-users] webrat the way to go?

2008-09-29 Thread Willem van den Ende
On Mon, 2008-09-29 at 09:57 +0200, aslak hellesoy wrote: > > > Try to replace Subject with for="invitation_subject">Subject > Now both vision impaired people and Webrat know that the text > "Subject" is linked to the input field. This is much better semantic > HTML. Ah, thanks. I'll do that. I

Re: [rspec-users] webrat the way to go?

2008-09-29 Thread aslak hellesoy
On Mon, Sep 29, 2008 at 9:07 AM, Willem van den Ende <[EMAIL PROTECTED]> wrote: > Hi Aslak, > > thanks for responding (more below). > > On Mon, 2008-09-29 at 08:48 +0200, aslak hellesoy wrote: >> On Mon, Sep 29, 2008 at 8:46 AM, Willem van den Ende >> <[EMAIL PROTECTED]> wrote: >> > On Sun, 2008-09

Re: [rspec-users] webrat the way to go?

2008-09-29 Thread Willem van den Ende
Hi Aslak, thanks for responding (more below). On Mon, 2008-09-29 at 08:48 +0200, aslak hellesoy wrote: > On Mon, Sep 29, 2008 at 8:46 AM, Willem van den Ende > <[EMAIL PROTECTED]> wrote: > > On Sun, 2008-09-28 at 22:24 +0200, Willem van den Ende wrote: > > > >> When I go to invitation/new, I see

Re: [rspec-users] webrat the way to go?

2008-09-28 Thread aslak hellesoy
On Mon, Sep 29, 2008 at 8:46 AM, Willem van den Ende <[EMAIL PROTECTED]> wrote: > On Sun, 2008-09-28 at 22:24 +0200, Willem van den Ende wrote: > >> When I go to invitation/new, I see the Subject field, but WebRat doesn't... : > >> When I fill in "Subject" with "My invitation subject" >>

Re: [rspec-users] webrat the way to go?

2008-09-28 Thread Willem van den Ende
On Sun, 2008-09-28 at 22:24 +0200, Willem van den Ende wrote: > When I go to invitation/new, I see the Subject field, but WebRat doesn't... : > When I fill in "Subject" with "My invitation subject" > Could not find [Webrat::TextField, Webrat::TextareaField, > Webrat::PasswordField]: "S

Re: [rspec-users] webrat the way to go?

2008-09-28 Thread Willem van den Ende
Hi, I just started playing with cucumber On Wed, 2008-09-17 at 22:44 +0200, aslak hellesoy wrote: > If you already know RSpec I think you'd pick it up faster. Cucumber > has some documentation that might be helpful: > http://github.com/aslakhellesoy/cucumber/wikis/ruby-on-rails > Definitely help

Re: [rspec-users] webrat the way to go?

2008-09-24 Thread aslak hellesoy
On Wed, Sep 24, 2008 at 9:43 PM, Fernando Perez <[EMAIL PROTECTED]> wrote: > I'd like to know: in a nutshell what's the difference between Webrat and > Cucumber? > They do completely different things. Webrat is a library that allows you to interact with a Rails web app using a high level API simi

Re: [rspec-users] webrat the way to go?

2008-09-24 Thread David Chelimsky
On Wed, Sep 24, 2008 at 2:43 PM, Fernando Perez <[EMAIL PROTECTED]> wrote: > I'd like to know: in a nutshell what's the difference between Webrat and > Cucumber? > > I saw that in RSpec 1.1.5, Story Runner will be replaced by Cucumber, so > isn't learning Cucumber compulsory? No you didn't. You sa

Re: [rspec-users] webrat the way to go?

2008-09-24 Thread Christopher Bailey
They're separate - Cucumber parallels RSpec Story Runner and replaces that, not WebRat. On Wed, Sep 24, 2008 at 12:43 PM, Fernando Perez <[EMAIL PROTECTED]>wrote: > I'd like to know: in a nutshell what's the difference between Webrat and > Cucumber? > > I saw that in RSpec 1.1.5, Story Runner wil

Re: [rspec-users] webrat the way to go?

2008-09-24 Thread Fernando Perez
I'd like to know: in a nutshell what's the difference between Webrat and Cucumber? I saw that in RSpec 1.1.5, Story Runner will be replaced by Cucumber, so isn't learning Cucumber compulsory? -- Posted via http://www.ruby-forum.com/. ___ rspec-users m

Re: [rspec-users] webrat the way to go?

2008-09-18 Thread DyingToLearn
Thank you all for your responses. This has been really helpful! Matt Wynne wrote: > I would expect to waste some time splashing around though, yup. I think I am going to have to book a "day off" next week and just dive into it all: lots of reading and lots of practice. Thanks again, Paul ___

Re: [rspec-users] webrat the way to go?

2008-09-17 Thread Matt Wynne
On 9 Sep 2008, at 05:42, DyingToLearn wrote: Hi, Here is the short version of my question: For stories, is webrat the way to go? How many of you use webrat? How many don't? Here is the long version: I have been writing specs for some time now. I have noticed that once I learned how to write s

Re: [rspec-users] webrat the way to go?

2008-09-17 Thread aslak hellesoy
On Tue, Sep 9, 2008 at 6:42 AM, DyingToLearn <[EMAIL PROTECTED]> wrote: > Hi, > > Here is the short version of my question: > For stories, is webrat the way to go? How many of you use webrat? How > many don't? > I use it and love it. When it doesn't do what I need (rarely) it's trivial to drop do

Re: [rspec-users] webrat the way to go?

2008-09-17 Thread Christopher Bailey
Here's my take as just a happy user of stories... First, I say definitely use WebRat. WebRat is a large part of what convinced me to use stories in the first place. I was looking for both something that simulated real usage, as well as something that wasn't so fragile/affected by changes in impl

[rspec-users] webrat the way to go?

2008-09-17 Thread DyingToLearn
Hi, Here is the short version of my question: For stories, is webrat the way to go? How many of you use webrat? How many don't? Here is the long version: I have been writing specs for some time now. I have noticed that once I learned how to write specs (both the syntax and the techniques) it mad