summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-23 18:09:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-23 18:09:03 +0000
commit8f00d31ec6b9cb9355c501d384204712e7b59f3d (patch)
treece94ceea5706818336aa8998273e437c87dbe071 /test/functional
parente53a5de918c1db1f409df8d72a0cb5f38b4c7671 (diff)
downloadredmine-8f00d31ec6b9cb9355c501d384204712e7b59f3d.tar.gz
redmine-8f00d31ec6b9cb9355c501d384204712e7b59f3d.zip
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
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/timelog_controller_test.rb4
-rw-r--r--test/functional/wiki_controller_test.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb
index ae0561bfa..133c809e4 100644
--- a/test/functional/timelog_controller_test.rb
+++ b/test/functional/timelog_controller_test.rb
@@ -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
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb
index 2af8830d9..737a29947 100644
--- a/test/functional/wiki_controller_test.rb
+++ b/test/functional/wiki_controller_test.rb
@@ -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/
}
}