Re: [rspec-users] Cucumber, Webrat and http basic auth

2008-11-22 Thread Chris Flipse
Thanks. I had _some_ similar bits already in place, but yours is much better put together for deciding when to redirect. I've got a patch up at http://github.com/flip/webrat/commit/4131b8da2fec44398fb170f4d88edc36ad9c9cac that should do the trick for the redirects. On Thu, Nov 20, 2008 at 10:28

Re: [rspec-users] Cucumber: Group Given, Whens and Thens

2008-11-22 Thread Andrew Premdas
Interesting ... so this establishes a convention to use in features that all Givens are written in the past tense and all whens in the present tense. I think its quite important as your feature count grows that you have conventions to stop getting to much step duplication e.g. when I create a fo

Re: [rspec-users] Rails: View specs and implicit parameters in link_to()

2008-11-22 Thread Higgaion
I'm in the same boat - trying to test a helper that uses the implicit :controller in a link_to, and I get an exception from rails: ActionController::RoutingError in 'ApplicationHelper breadcrumbs should return a link to elems section' Need controller and action! /opt/local/lib/ruby/gems/1.8/gems/ac