aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorVishnu Atrai <me@vishnuatrai.com>2011-12-26 01:51:05 +0530
committerVishnu Atrai <me@vishnuatrai.com>2011-12-26 01:51:05 +0530
commita1a5c40dad32b69a013a15787e95f4c63f23546f (patch)
tree5e2ad0b72880d723d93c06cec894f75f1cb583de /railties
parent748725e9ce081f6517c68d8f74d254e2079d0d79 (diff)
downloadrails-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.rb17
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