Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 13a321af86d47904670ea2c9ad8d49fed527c210 Mon Sep 17 00:00:00 2001
- From: Nathan Verni <npverni@gmail.com>
- Date: Tue, 27 Oct 2009 18:42:18 -0400
- Subject: [PATCH] Updated expectation in EventsControllerTest to match the :rss > :atom redirect
- ---
- test/functional/events_controller_test.rb | 3 +--
- 1 files changed, 1 insertions(+), 2 deletions(-)
- diff --git a/test/functional/events_controller_test.rb b/test/functional/events_controller_test.rb
- index 6953231..5191b8b 100644
- --- a/test/functional/events_controller_test.rb
- +++ b/test/functional/events_controller_test.rb
- @@ -28,8 +28,7 @@ class EventsControllerTest < ActionController::TestCase
- get :index, :format => 'rss'
- end
- - should_render_template 'index.rss'
- - should_respond_with :success
- + should_redirect_to("events_path :format => :atom") { events_path(:atom) }
- end
- context "GET to :index :format => 'atom' with events in the future" do
- --
- 1.6.4.2
Add Comment
Please, Sign In to add comment