Mailinglist Archive: yast-commit (1914 mails)

< Previous Next >
[yast-commit] <web-client> master : add correct test to redirect
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Thu, 10 Sep 2009 13:46:49 +0200
  • Message-id: <E1Mli7U-0008Ov-AM@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit bd9d8f08e838a116d5777cef5de1491412787ed4
Author: Josef Reidinger <jreidinger@xxxxxxx>
Date: Thu Sep 10 13:46:49 2009 +0200

add correct test to redirect
---
.../test/functional/systemtime_controller_test.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/systemtime/test/functional/systemtime_controller_test.rb
b/plugins/systemtime/test/functional/systemtime_controller_test.rb
index b9bb948..1d2b849 100644
--- a/plugins/systemtime/test/functional/systemtime_controller_test.rb
+++ b/plugins/systemtime/test/functional/systemtime_controller_test.rb
@@ -122,7 +122,7 @@ class SystemtimeControllerTest < ActionController::TestCase

puts @response.body
assert_response :redirect
- assert_redirected_to :action => "index"
+ assert_redirected_to :controller => "controlpanel", :action => "nextstep"

assert @result.saved
end
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages