[rspec-devel] redirect_to matcher bug

Tim Lucas t.lucas at toolmantim.com
Sun May 6 10:31:35 EDT 2007

There's a bug in the redirect_to matcher in that it doesn't use  
@request.host but instead hard codes "test.host". I'm trying to  
trying to run the redirect_to_spec but it doesn't look like it can be  
run by itself.

$ spec rspec_on_rails/spec/rails/matchers/redirect_to_spec.rb
`gem_original_require': no such file to load -- ./rspec_on_rails/spec/ 
rails/matchers/../../../../../../spec/spec_helper (LoadError)

I'm guessing nobody's attempted to run these specs on their own? How  
am I meant to add to and run the spec?

The patch for the bugfix and spec is here: http://pastie.caboo.se/59357

-- tim

More information about the rspec-devel mailing list