[rspec-users] RSpec raising routing errors where Rails doesn't?

RSL ___ lists at ruby-forum.com
Tue Aug 19 18:17:35 EDT 2008

Hopefully someone here can help me figure out why the ERB:

  <% form_for(@fund, :url => {:host => PRIVATE_HOST}, :html => {:class
=> 'fund', :multipart => true}) do |f| %>

raises an error in my specs:

  No route matches {:action=>"index"}

but works fine in my app and generates the following, desired HTML:

  <form id="edit_fund_18" class="fund" method="post"

Many thanks in advance.

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list