Skip to content

Commit

Permalink
Enable encoding specs for 1.9+ versions by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dbussink committed Mar 26, 2013
1 parent 288dea7 commit 00345b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/default.mspec
Expand Up @@ -34,6 +34,10 @@ class MSpecScript
MSpec.enable_feature :require_19 MSpec.enable_feature :require_19
end end


if RUBY_VERSION >= "1.9"
MSpec.enable_feature :encoding
end

if Object.const_defined?(:Rubinius) && Rubinius.const_get(:Fiber) if Object.const_defined?(:Rubinius) && Rubinius.const_get(:Fiber)
if Rubinius::Fiber::ENABLED if Rubinius::Fiber::ENABLED
::Fiber = Rubinius::Fiber ::Fiber = Rubinius::Fiber
Expand Down

0 comments on commit 00345b9

Please sign in to comment.