From 00345b90813de80f7f1b6bce3483ad08f6728568 Mon Sep 17 00:00:00 2001 From: Dirkjan Bussink Date: Tue, 26 Mar 2013 15:00:24 +0100 Subject: [PATCH] Enable encoding specs for 1.9+ versions by default --- spec/default.mspec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/default.mspec b/spec/default.mspec index 86b19e3536..5972e13720 100644 --- a/spec/default.mspec +++ b/spec/default.mspec @@ -34,6 +34,10 @@ class MSpecScript MSpec.enable_feature :require_19 end + if RUBY_VERSION >= "1.9" + MSpec.enable_feature :encoding + end + if Object.const_defined?(:Rubinius) && Rubinius.const_get(:Fiber) if Rubinius::Fiber::ENABLED ::Fiber = Rubinius::Fiber