From 26e452bc1030a643e61deca0ac31fc629cb40be5 Mon Sep 17 00:00:00 2001 From: Piotr Krawiec Date: Wed, 5 Dec 2012 19:46:00 +0100 Subject: [PATCH] Add encoding header to the helpers definition file Fixes "incompatible character encoding" error when running Capybara on JRuby platforms. --- lib/capybara/helpers.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/capybara/helpers.rb b/lib/capybara/helpers.rb index ac2ab7f8..7b9c1335 100644 --- a/lib/capybara/helpers.rb +++ b/lib/capybara/helpers.rb @@ -1,3 +1,5 @@ +# encoding: UTF-8 + module Capybara module Helpers class << self