Hey Matt. Thanks for replying. I deleted that gist by accident earlier 
today. Despite that, the problem's solved by 
including Rails.application.routes.url_helpers in my model.

My Rails console sessions include Rails.application.routes.url_helpers 
automatically, which is why it worked in IRB but not when run with RSpec.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to