aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-04-24 18:52:51 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-04-24 18:52:51 -0700
commitdf886c4c89f3b8a95ef2456d6893393376b330a9 (patch)
tree0dd1ab4dc6f3ca099314e69206e3010331556f6f /actionpack
parent403752e28993493d87ae4e69f9aca1858eb133f7 (diff)
downloadrails-df886c4c89f3b8a95ef2456d6893393376b330a9.tar.gz
rails-df886c4c89f3b8a95ef2456d6893393376b330a9.tar.bz2
rails-df886c4c89f3b8a95ef2456d6893393376b330a9.zip
Missed commit: explicit source encoding
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/controller/assert_select_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/assert_select_test.rb b/actionpack/test/controller/assert_select_test.rb
index cb3e848dfa..4ef6fa4000 100644
--- a/actionpack/test/controller/assert_select_test.rb
+++ b/actionpack/test/controller/assert_select_test.rb
@@ -1,3 +1,4 @@
+# encoding: utf-8
#--
# Copyright (c) 2006 Assaf Arkin (http://labnotes.org)
# Under MIT and/or CC By license.
@@ -347,7 +348,6 @@ class AssertSelectTest < ActionController::TestCase
assert_select str, :text => "\343\203\201\343\202\261\343\203\203\343\203\210"
assert_select str, "\343\203\201\343\202\261\343\203\203\343\203\210"
if str.respond_to?(:force_encoding)
- str.force_encoding(Encoding::UTF_8)
assert_select str, /\343\203\201..\343\203\210/u
assert_raise(Assertion) { assert_select str, /\343\203\201.\343\203\210/u }
else