Hi everyone, What is the best way to spec a controller method that involves an rjs redirect? Something like this
def index url_to = @parent ? auction_bids_path(@parent) : auctions_path render :update do |page| page.redirect_to(url_to) end end I tried response.should have_rjs for the redirect but it didnt work. Any help would be appreciated. Thanks
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users