Browse files

Missed commit: explicit source encoding

  • Loading branch information...
1 parent 403752e commit df886c4c89f3b8a95ef2456d6893393376b330a9 @jeremy jeremy committed Apr 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/controller/assert_select_test.rb
View
2 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 @@ def test_assert_select_rjs_with_unicode
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

0 comments on commit df886c4

Please sign in to comment.