Not sure on how to do that with Steak but you must be looking to
include Rails.application.routes.url_helpers
somewhere, with vanilla RSpec it would be

describes 'included helpers' do
  include Rails.application.routes.url_helpers
  ...
end

On Fri, Nov 12, 2010 at 8:42 PM, Steve <vertebr...@gmail.com> wrote:
> I'm writing some Steak acceptance tests in Rspec2 for my Rails3 app
> and I can't access various route helpers(members_path,
> new_member_path, etc...) in my specs, and can't figure out how to
> include them. I'm sure it's probably a simple config setting. Does
> anyone know what I need to do?
>
> Thanks,
> Steve
> _______________________________________________
> 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

Reply via email to