Skip to content
Browse files

Merge pull request #4188 from castlerock/remove_1.8_test

Test::Unit::Util::BacktraceFilter not available in ruby19 test/unit
  • Loading branch information...
2 parents e33c946 + a1a5c40 commit b417d3d43be911190ee3e8e746da68698779959d @josevalim josevalim committed Dec 25, 2011
Showing with 0 additions and 17 deletions.
  1. +0 −17 railties/test/application/test_test.rb
View
17 railties/test/application/test_test.rb
@@ -27,23 +27,6 @@ def test_truth
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

0 comments on commit b417d3d

Please sign in to comment.
Something went wrong with that request. Please try again.