Don't require 'complex' and 'rational' libs in Ruby 1.9 - they're in core already

This commit is contained in:
Wojciech Piekutowski 2011-02-20 15:37:31 +01:00
parent b541972bdc
commit 57d95c9ab3

View File

@ -1,8 +1,11 @@
# encoding:utf-8
require './test/test_helper'
require 'complex'
if RUBY_VERSION < '1.9'
require 'complex'
require 'rational'
end
require 'bigdecimal'
require 'rational'
begin
require 'active_support/core_ext'