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


_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to