Invalid character in expression

44 views
Skip to first unread message

Jeff

unread,
May 19, 2009, 10:26:46 AM5/19/09
to webrat
Hello,

I've added webrat to my Rails 2.2.2 project; and in test_helper.rb I
have this:

require "webrat"

Webrat.configure
do
|config|


 config.mode
=
:rails
end
# Rest of test_helper code here

When I try to run any of my tests, I get this:

./test/functional/../test_helper.rb:14: Invalid char `\200' in
expression
./test/functional/../test_helper.rb:14: Invalid char `\251' in
expression
./test/functional/../test_helper.rb:14: Invalid char `\342' in
expression
./test/functional/../test_helper.rb:14: Invalid char `\200' in
expression
./test/functional/../test_helper.rb:14: Invalid char `\251' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\342' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\200' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\251' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\342' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\200' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\251' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\342' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\200' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\251' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\342' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\200' in
expression
./test/functional/../test_helper.rb:15: Invalid char `\251' in
expression

I'm on Leopard 10.5.7... any ideas?

Thanks
Jeff

Jeff

unread,
May 19, 2009, 12:12:25 PM5/19/09
to webrat
Sorry, it was a copy/paste issue from another app...

Jeff
Reply all
Reply to author
Forward
0 new messages