mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
remove trailing white spaces from test/functional/trackers_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16664 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ce9edd07e3
commit
ef754487c3
@ -30,13 +30,13 @@ class TrackersControllerTest < Redmine::ControllerTest
|
|||||||
assert_response :success
|
assert_response :success
|
||||||
assert_select 'table.trackers'
|
assert_select 'table.trackers'
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_index_by_anonymous_should_redirect_to_login_form
|
def test_index_by_anonymous_should_redirect_to_login_form
|
||||||
@request.session[:user_id] = nil
|
@request.session[:user_id] = nil
|
||||||
get :index
|
get :index
|
||||||
assert_redirected_to '/login?back_url=http%3A%2F%2Ftest.host%2Ftrackers'
|
assert_redirected_to '/login?back_url=http%3A%2F%2Ftest.host%2Ftrackers'
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_index_by_user_should_respond_with_406
|
def test_index_by_user_should_respond_with_406
|
||||||
@request.session[:user_id] = 2
|
@request.session[:user_id] = 2
|
||||||
get :index
|
get :index
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user