Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test-unit 2: filter_backtrace is private

  • Loading branch information...
commit 322b6b29c272aa6c9b9d2556b736dbe32db3aa45 1 parent 0df1dc5
Jeremy Kemper jeremy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/backtrace_cleaner_test.rb
4 railties/test/backtrace_cleaner_test.rb
View
@@ -16,12 +16,12 @@ def setup
test "test with backtrace should use the rails backtrace cleaner to clean" do
Rails.stubs(:backtrace_cleaner).returns(stub(:clean))
Rails.backtrace_cleaner.expects(:clean).with(@backtrace, nil)
- @test.filter_backtrace(@backtrace)
+ @test.send(:filter_backtrace, @backtrace)
end
test "filter backtrace should have the same arity as Test::Unit::Util::BacktraceFilter" do
assert_nothing_raised do
- @test.filter_backtrace(@backtrace, '/opt/local/lib')
+ @test.send(:filter_backtrace, @backtrace, '/opt/local/lib')
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.