spec/resources/controllers/render_spec_controller.rb in rspec-rails-1.2.7.1 vs spec/resources/controllers/render_spec_controller.rb in rspec-rails-1.2.9
- old
+ new
@@ -13,9 +13,13 @@
end
def text_action
render :text => "this is the text for this action"
end
+
+ def action_with_redirect
+ redirect_to :action => :some_action
+ end
def action_with_partial
render :partial => "a_partial"
end