aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/kernel_test.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2012-06-05 20:39:26 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2012-06-05 20:43:41 +0100
commit870310db6a9f3c4ef70831cbc31271d567c90137 (patch)
tree43f517de355c68369d583885f0c34de187204bed /activesupport/test/core_ext/kernel_test.rb
parent9b742fd64d17072a2e76e73d4967aeef8eb442dd (diff)
downloadrails-870310db6a9f3c4ef70831cbc31271d567c90137.tar.gz
rails-870310db6a9f3c4ef70831cbc31271d567c90137.tar.bz2
rails-870310db6a9f3c4ef70831cbc31271d567c90137.zip
Eliminate dependency on Rails::VERSION::STRING
To facilitate the use of ActiveSupport::Testing::Performance outside of a Rails application conditionally check for the presence of Rails::VERSION::STRING before including it in the environment string.
Diffstat (limited to 'activesupport/test/core_ext/kernel_test.rb')
-rw-r--r--activesupport/test/core_ext/kernel_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/kernel_test.rb b/activesupport/test/core_ext/kernel_test.rb
index 99e4506be7..439bc87323 100644
--- a/activesupport/test/core_ext/kernel_test.rb
+++ b/activesupport/test/core_ext/kernel_test.rb
@@ -96,7 +96,6 @@ class KernelDebuggerTest < ActiveSupport::TestCase
end
def test_debugger_not_available_message_to_rails_logger
- Object.send(:remove_const, :Rails) if Object.const_defined?(:Rails)
rails = Class.new do
def self.logger
@logger ||= MockStdErr.new