From b3a18f81cbd9e6ed1b56d1d0e7f59a958e043dbf Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Fri, 11 Feb 2011 09:45:35 -0200 Subject: [PATCH] Tests green on 3.0.4 --- Gemfile.lock | 60 ++++++++++++++++++++++----------------------- test/test_helper.rb | 7 +++--- 2 files changed, 34 insertions(+), 33 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 42981165..f5ac2038 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,40 +2,40 @@ GEM remote: http://rubygems.org/ specs: abstract (1.0.0) - actionmailer (3.0.3) - actionpack (= 3.0.3) - mail (~> 2.2.9) - actionpack (3.0.3) - activemodel (= 3.0.3) - activesupport (= 3.0.3) + actionmailer (3.0.4) + actionpack (= 3.0.4) + mail (~> 2.2.15) + actionpack (3.0.4) + activemodel (= 3.0.4) + activesupport (= 3.0.4) builder (~> 2.1.2) erubis (~> 2.6.6) i18n (~> 0.4) rack (~> 1.2.1) rack-mount (~> 0.6.13) - rack-test (~> 0.5.6) + rack-test (~> 0.5.7) tzinfo (~> 0.3.23) - activemodel (3.0.3) - activesupport (= 3.0.3) + activemodel (3.0.4) + activesupport (= 3.0.4) builder (~> 2.1.2) i18n (~> 0.4) - activerecord (3.0.3) - activemodel (= 3.0.3) - activesupport (= 3.0.3) + activerecord (3.0.4) + activemodel (= 3.0.4) + activesupport (= 3.0.4) arel (~> 2.0.2) tzinfo (~> 0.3.23) - activeresource (3.0.3) - activemodel (= 3.0.3) - activesupport (= 3.0.3) - activesupport (3.0.3) - arel (2.0.6) + activeresource (3.0.4) + activemodel (= 3.0.4) + activesupport (= 3.0.4) + activesupport (3.0.4) + arel (2.0.8) builder (2.1.2) columnize (0.3.2) erubis (2.6.6) abstract (>= 1.0.0) i18n (0.5.0) linecache (0.43) - mail (2.2.12) + mail (2.2.15) activesupport (>= 2.3.6) i18n (>= 0.4.0) mime-types (~> 1.16) @@ -47,19 +47,19 @@ GEM rack (1.2.1) rack-mount (0.6.13) rack (>= 1.0.0) - rack-test (0.5.6) + rack-test (0.5.7) rack (>= 1.0) - rails (3.0.3) - actionmailer (= 3.0.3) - actionpack (= 3.0.3) - activerecord (= 3.0.3) - activeresource (= 3.0.3) - activesupport (= 3.0.3) + rails (3.0.4) + actionmailer (= 3.0.4) + actionpack (= 3.0.4) + activerecord (= 3.0.4) + activeresource (= 3.0.4) + activesupport (= 3.0.4) bundler (~> 1.0) - railties (= 3.0.3) - railties (3.0.3) - actionpack (= 3.0.3) - activesupport (= 3.0.3) + railties (= 3.0.4) + railties (3.0.4) + actionpack (= 3.0.4) + activesupport (= 3.0.4) rake (>= 0.8.7) thor (~> 0.14.4) rake (0.8.7) @@ -71,7 +71,7 @@ GEM thor (0.14.6) treetop (1.4.9) polyglot (>= 0.3.1) - tzinfo (0.3.23) + tzinfo (0.3.24) PLATFORMS ruby diff --git a/test/test_helper.rb b/test/test_helper.rb index 8599bdda..2d84feea 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,7 +1,5 @@ require 'rubygems' -require 'bundler' - -Bundler.setup +require 'bundler/setup' require 'test/unit' require 'mocha' @@ -10,6 +8,9 @@ require 'active_model' require 'action_controller' require 'action_view' require 'action_view/template' + +# Rails 3.0.4 is missing this "deprecation" require. +require 'active_support/core_ext/module/deprecation' require 'action_view/test_case' $:.unshift File.expand_path("../../lib", __FILE__)