[rspec-users] help on skipping a before_filter for a story

2008-09-17 Thread Eric Harris-Braun
Hi folks, I'm hoping for a bit of help on best-practices for skipping a before_filter when running a particular step. Specifically the authentication filter. What happens is that the post (see code below) returns a redirect response to the login page triggered by the of my authentication filter,

Re: [rspec-users] help on skipping a before_filter for a story

2008-09-08 Thread Eric Harris-Braun
Thanks David for the very detailed response. I see what you mean about why this should be hard to do. In fact perhaps what I should do instead is simply specify the user-login part in my story instead of skipping it. I didn't at first because its a pain, i.e. sending the sessions/create post and

[rspec-users] help on skipping a before_filter for a story

2008-09-08 Thread Eric Harris-Braun
Hi folks, I'm hoping for a bit of help on best-practices for skipping a before_filter when running a particular step. Specifically the authentication filter. What happens is that the post (see code below) returns a redirect response to the login page triggered by the of my authentication filter,

[rspec-users] newbie first run question

2008-03-25 Thread Eric Harris-Braun
Hi folks, RSpec 1.1.3 is failing for me out of the box. I installed both rspec and rspec_on_rails using svn following the instructions on the site. Then I used the rspec generate script, created a very simple test example and run rspec with: rake spec. What I get back is: /usr/local/lib/ruby/s