diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-10 21:04:00 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-10 21:04:00 -0800 |
commit | 322b6b29c272aa6c9b9d2556b736dbe32db3aa45 (patch) | |
tree | fc8bcd15db7398074bf4fd1166a8b5a640e37f15 /railties | |
parent | 0df1dc5a7274b28ed9474e871e6af1ca9b9a2fe9 (diff) | |
download | rails-322b6b29c272aa6c9b9d2556b736dbe32db3aa45.tar.gz rails-322b6b29c272aa6c9b9d2556b736dbe32db3aa45.tar.bz2 rails-322b6b29c272aa6c9b9d2556b736dbe32db3aa45.zip |
test-unit 2: filter_backtrace is private
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/backtrace_cleaner_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/backtrace_cleaner_test.rb b/railties/test/backtrace_cleaner_test.rb index 4e273852e0..6cff591b94 100644 --- a/railties/test/backtrace_cleaner_test.rb +++ b/railties/test/backtrace_cleaner_test.rb @@ -16,12 +16,12 @@ if defined? Test::Unit::Util::BacktraceFilter 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 |