diff options
author | Vishnu Atrai <me@vishnuatrai.com> | 2011-12-26 01:51:05 +0530 |
---|---|---|
committer | Vishnu Atrai <me@vishnuatrai.com> | 2011-12-26 01:51:05 +0530 |
commit | a1a5c40dad32b69a013a15787e95f4c63f23546f (patch) | |
tree | 5e2ad0b72880d723d93c06cec894f75f1cb583de /railties | |
parent | 748725e9ce081f6517c68d8f74d254e2079d0d79 (diff) | |
download | rails-a1a5c40dad32b69a013a15787e95f4c63f23546f.tar.gz rails-a1a5c40dad32b69a013a15787e95f4c63f23546f.tar.bz2 rails-a1a5c40dad32b69a013a15787e95f4c63f23546f.zip |
Test::Unit::Util::BacktraceFilter not available in ruby19 test/unit
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/application/test_test.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/railties/test/application/test_test.rb b/railties/test/application/test_test.rb index a06facc04b..aa55a3cf1e 100644 --- a/railties/test/application/test_test.rb +++ b/railties/test/application/test_test.rb @@ -27,23 +27,6 @@ module ApplicationTests run_test_file 'unit/foo_test.rb' end - # Run just in Ruby < 1.9 - if defined?(Test::Unit::Util::BacktraceFilter) - test "adds backtrace cleaner" do - app_file 'test/unit/backtrace_test.rb', <<-RUBY - require 'test_helper' - - class FooTest < ActiveSupport::TestCase - def test_truth - assert Test::Unit::Util::BacktraceFilter.ancestors.include?(Rails::BacktraceFilterForTestUnit) - end - end - RUBY - - run_test_file 'unit/backtrace_test.rb' - end - end - test "integration test" do controller 'posts', <<-RUBY class PostsController < ActionController::Base |