On Sat, Oct 18, 2008 at 10:25 PM, Stephen Eley <[EMAIL PROTECTED]> wrote: > On Sat, Oct 18, 2008 at 2:13 PM, Zach Dennis <[EMAIL PROTECTED]> wrote: >> >> Given Joe is a staff member without the '$privilege$' privilege >> When I $request$ $path$ as Joe >> Then I am notified that access was denied > > My only beef with this is that it breaks the pattern of writing > scenarios in plain English. I don't know if I can pin that down in > terms of technical value, but it makes me _feel_ good to follow a > chain of turning prose into code. If you put variable names in there > that *look* like variable names, it sullies that. > > But by the way, thanks for posting this. I didn't really grok the > tables feature in Cucumber before, and when I tried 'script/generate > feature' the table part threw errors so I deleted it. Your asking > made me look in the wiki on Github again, and I found this, which I > must have missed before: > http://github.com/aslakhellesoy/cucumber/wikis/using-fit-tables-in-a-feature > > Posting that for the benefit of anyone else who missed it and didn't > know they missed it. So thank you! >
Even *I* didn't know about that page :-) I've just updated it. (Let's not call them FIT tables. Let's call them scenario tables and step tables instead). Aslak > > -- > Have Fun, > Steve Eley ([EMAIL PROTECTED]) > ESCAPE POD - The Science Fiction Podcast Magazine > http://www.escapepod.org > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users