[rspec-users] Specifying a few valid values

Jonathan Leighton j at jonathanleighton.com
Thu Jul 17 10:19:08 EDT 2008

On Thu, 2008-07-17 at 08:50 -0500, David Chelimsky wrote:
> Are you familiar with Webrat?

Yep, we are using it. However, I want to test what happens when invalid
data is entered - that's the reason to specify that the form gets shown.
What would you consider a better approach to verify the user sees the
form again, instead of moving on through the application? I guess I
could test that they *don't* get redirected?


Jonathan Leighton

More information about the rspec-users mailing list