You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cukes
I'm brand new to cucumber so bear with me. I'm trying to write
features against Makandra Aegis (http://github.com/makandra/aegis)
role based permissions. When a user doesn't have access to a page, it
raises an Aegis Exception. I'm trying to test that this exception is
in fact shown, but the cucumber test fails BECAUSE the exception is
thrown.
How do I go about dealing with exceptions in cucumber?
aslak hellesoy
unread,
Nov 25, 2009, 3:50:59 AM11/25/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cu...@googlegroups.com
> I'm brand new to cucumber so bear with me.
Welcome!
> I'm trying to write
> features against Makandra Aegis (http://github.com/makandra/aegis)
> role based permissions. When a user doesn't have access to a page, it
> raises an Aegis Exception. I'm trying to test that this exception is
> in fact shown, but the cucumber test fails BECAUSE the exception is
> thrown.
>
This is done in your Cucumber step definition with your "assertion" library.
> > I'm brand new to cucumber so bear with me.
>
> Welcome!
>
> > I'm trying to write
> > features against Makandra Aegis (http://github.com/makandra/aegis)
> > role based permissions. When a user doesn't have access to a page, it
> > raises an Aegis Exception. I'm trying to test that this exception is
> > in fact shown, but the cucumber test fails BECAUSE the exception is
> > thrown.
>
> This is done in your Cucumber step definition with your "assertion" library.
>
> If you use RSpec:
>