On 24 Oct 2008, at 21:57, Harry Bishop wrote:
Harry Bishop wrote:
   response.should redirect_to(@motion)

What is this Motion? is it really something that you can redirect people to? Maybe you meant redirect_to(url_for(@motion))?

private method `split' called for #<Motion:0x2259944>.

My guess is that this is rails / rspec-rails trying to make a URL out of your Motion instance. These path method errors are often rather unhelpful.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to