[rspec-users] Cucumber, more examples, tabular data input sets
Joseph Wilk
josephwilk at joesniff.co.uk
Tue Oct 21 10:47:23 EDT 2008
Matt Wynne wrote:
> ScenarioTemplate: Non admins are rejected
> Given I login as Joe without the '[privilege]' privilege
> When I [request_method] /admin[path]
> Then I am notified that access was denied
>
> | privilege | request_method | path |
> | Joe | GET | /admin |
> | Joe | POST | /invoces/1 |
>
> etc.
>
> WDYT?
>
> cheers,
> Matt
This sounds like a good direction Matt.
I think its important to make it clear that it is not a normal scenario
to avoid step matching confusion/why is this not being run.
Would you mind creating a ticket for it in lighthouse please?
Thanks,
--
Joseph Wilk
http://www.joesniff.co.uk
More information about the rspec-users
mailing list