[rspec-devel] redirect_to matcher bug

aslak hellesoy aslak.hellesoy at gmail.com
Sun May 6 10:46:24 EDT 2007

On 5/6/07, Tim Lucas <t.lucas at toolmantim.com> wrote:
> 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
> /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `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

Thanks for the patch. Please make an issue at Rubyforge so we only
have one place to go for patches.


> -- tim
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel

More information about the rspec-devel mailing list