mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 13:55:52 +01:00
Update Rails to 5.2.3 (#31113).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18028 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -74,7 +74,7 @@ class UsersControllerTest < Redmine::ControllerTest
|
||||
assert_equal User.logged.status(1).count, response.body.chomp.split("\n").size - 1
|
||||
assert_include 'active', response.body
|
||||
assert_not_include 'locked', response.body
|
||||
assert_equal 'text/csv; header=present', @response.content_type
|
||||
assert_equal 'text/csv', @response.content_type
|
||||
end
|
||||
end
|
||||
|
||||
@@ -86,7 +86,7 @@ class UsersControllerTest < Redmine::ControllerTest
|
||||
assert_equal User.logged.status(3).count, response.body.chomp.split("\n").size - 1
|
||||
assert_include 'locked', response.body
|
||||
assert_not_include 'active', response.body
|
||||
assert_equal 'text/csv; header=present', @response.content_type
|
||||
assert_equal 'text/csv', @response.content_type
|
||||
end
|
||||
end
|
||||
|
||||
@@ -96,7 +96,7 @@ class UsersControllerTest < Redmine::ControllerTest
|
||||
|
||||
assert_equal User.logged.like('John').count, response.body.chomp.split("\n").size - 1
|
||||
assert_include 'John', response.body
|
||||
assert_equal 'text/csv; header=present', @response.content_type
|
||||
assert_equal 'text/csv', @response.content_type
|
||||
end
|
||||
|
||||
def test_index_csv_with_group_filter
|
||||
@@ -104,7 +104,7 @@ class UsersControllerTest < Redmine::ControllerTest
|
||||
assert_response :success
|
||||
|
||||
assert_equal Group.find(10).users.count, response.body.chomp.split("\n").size - 1
|
||||
assert_equal 'text/csv; header=present', @response.content_type
|
||||
assert_equal 'text/csv', @response.content_type
|
||||
end
|
||||
|
||||
def test_show
|
||||
|
||||
Reference in New Issue
Block a user