Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

set default_external encoding in spec_helper

  • Loading branch information...
commit c42dfc1650c5af4b4b02b1e666c68eb0f58f89eb 1 parent aba5ff7
@infused authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  spec/spec_helper.rb
View
2  spec/spec_helper.rb
@@ -1,6 +1,8 @@
require 'dbf'
require 'rspec'
+Encoding.default_external = "UTF-8" if defined?(Encoding)
+
DB_PATH = File.dirname(__FILE__) + '/fixtures' unless defined?(DB_PATH)
if RUBY_VERSION == "1.8.6"

0 comments on commit c42dfc1

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