Skip to content
Browse files

Add encoding header to the helpers definition file

Fixes "incompatible character encoding" error when running Capybara
on JRuby platforms.
  • Loading branch information...
1 parent 88b21af commit 26e452bc1030a643e61deca0ac31fc629cb40be5 @heypiotr heypiotr committed Dec 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/capybara/helpers.rb
View
2 lib/capybara/helpers.rb
@@ -1,3 +1,5 @@
+# encoding: UTF-8
+
module Capybara
module Helpers
class << self

0 comments on commit 26e452b

Please sign in to comment.
Something went wrong with that request. Please try again.