[rspec-users] Cucumber Problems with setup selenium/webrat + languages

2008-11-25 Thread Alberto Perdomo
Hi all, i've gotten started with cucumber thanks to Fernando and Raimond who gave a brilliant talk about cucumber at the Conferencia Rails in Madrid a few weeks ago. Congratulations again guys! Thanks also to Joseph Wilk who helped me out on IRC getting selenium up and running! Well, since then

Re: [rspec-users] Restful Authentication and Cucumber

2008-12-08 Thread Alberto Perdomo
Hi Andrei, >>> This is the step: >>> >>> Given /I am logged in as a user/ do >>> @current_user = Factory.define :user do |u| >>>u.name 'the user' >>>u.email '[EMAIL PROTECTED]' >>>u.login 'the_login' >>>u.password 'password' >>>u.password_confirmation 'password' >>> end >>>

[rspec-users] Stories, permissions, authorization rules etc.

2008-12-08 Thread Alberto Perdomo
Hi, my team and i have come to the point where we have defined a whole bunch of stories for an application. Almost all of the actions (besides login, etc.) should *not* be accesible if not logged in. Almost all of the actions require a specific user role. So, my question is. How do you put that i