diff options
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 4286129..b1935d0 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,7 +2,9 @@ require 'rubygems' require 'pathname' -require 'psych' + +require 'psych' if RUBY_VERSION >= '1.9' + if ENV['COVERAGE'] require 'simplecov' |