On Sat, Oct 18, 2008 at 5:42 PM, Ashley Moran <[EMAIL PROTECTED]> wrote: > > On Oct 18, 2008, at 9:51 pm, Zach Dennis wrote: > >> Given I login as Joe without the 'admin' privilege >> When I GET /admin >> Then I am notified that access was denied >> >> More Examples: >> | name | privilege | request_method | path | name | >> | Joe | admin | POST | /invoices | Joe | >> | Joe | admin | PUT | /invoices/1 | Joe | > > How about just annotating them? eg > > Given I login as [name] Joe without the 'admin' privilege > [missing_privilege] > When I GET [request_method] /admin [path] > Then I am notified that access was denied > > Or whatever. Maybe do it selectively, I don't think all of them are > necessary. > > Maybe writing scenarios that read well above a table is just a skill we have > to develop. > > Just a few thoughts really, I'm thinking out loud. >
I like what you're thinking, -- Zach Dennis http://www.continuousthinking.com http://www.mutuallyhuman.com _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users