Fix tests on 1.9

This commit is contained in:
Jeremy Kemper
2009-04-22 17:00:33 -07:00
parent 7f6779c1d5
commit b2d6fdae35
4 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
require 'active_support/core_ext/float/rounding'
module ActionView
module Helpers #:nodoc:
# Provides methods for converting numbers into formatted strings.

View File

@@ -1,7 +1,7 @@
begin
require 'active_support'
rescue LoadError
activesupport_path = "#{File.dirname(__FILE__)}/../../activesupport/lib"
activesupport_path = "#{File.dirname(__FILE__)}/../../../activesupport/lib"
if File.directory?(activesupport_path)
$:.unshift activesupport_path
require 'active_support'

View File

@@ -1,3 +1,5 @@
require 'active_support/core_ext/array/extract_options'
# Extends the class object with class and instance accessors for class attributes,
# just like the native attr* accessors for instance attributes.
#

View File

@@ -1,4 +1,4 @@
require 'active_support/core_ext/blank'
require 'active_support/core_ext/object/blank'
class Class
def superclass_delegating_reader(*names)