Accommodates fixtures for databases with case sensitive sort.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11260 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -552,7 +552,7 @@ class TimelogControllerTest < ActionController::TestCase
|
||||
assert_response :success
|
||||
assert_equal 'text/csv; header=present', @response.content_type
|
||||
assert @response.body.include?("Date,User,Activity,Project,Issue,Tracker,Subject,Hours,Comment,Overtime\n")
|
||||
assert @response.body.include?("\n04/21/2007,redMine Admin,Design,eCookbook,3,Bug,Error 281 when updating a recipe,1.0,\"\",\"\"\n")
|
||||
assert @response.body.include?("\n04/21/2007,Redmine Admin,Design,eCookbook,3,Bug,Error 281 when updating a recipe,1.0,\"\",\"\"\n")
|
||||
end
|
||||
|
||||
def test_index_csv_export
|
||||
@@ -561,7 +561,7 @@ class TimelogControllerTest < ActionController::TestCase
|
||||
assert_response :success
|
||||
assert_equal 'text/csv; header=present', @response.content_type
|
||||
assert @response.body.include?("Date,User,Activity,Project,Issue,Tracker,Subject,Hours,Comment,Overtime\n")
|
||||
assert @response.body.include?("\n04/21/2007,redMine Admin,Design,eCookbook,3,Bug,Error 281 when updating a recipe,1.0,\"\",\"\"\n")
|
||||
assert @response.body.include?("\n04/21/2007,Redmine Admin,Design,eCookbook,3,Bug,Error 281 when updating a recipe,1.0,\"\",\"\"\n")
|
||||
end
|
||||
|
||||
def test_index_csv_export_with_multi_custom_field
|
||||
|
||||
@@ -585,7 +585,7 @@ class WikiControllerTest < ActionController::TestCase
|
||||
# Line 5
|
||||
assert_tag :tag => 'tr', :child => {
|
||||
:tag => 'th', :attributes => {:class => 'line-num'}, :content => '5', :sibling => {
|
||||
:tag => 'td', :attributes => {:class => 'author'}, :content => /redMine Admin/, :sibling => {
|
||||
:tag => 'td', :attributes => {:class => 'author'}, :content => /Redmine Admin/, :sibling => {
|
||||
:tag => 'td', :content => /Some updated \[\[documentation\]\] here/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user