diff options
author | kennyj <kennyj@gmail.com> | 2012-05-20 00:14:40 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-05-20 00:14:40 +0900 |
commit | e5e2ba14c31f3eb97e5fba31a50da8d26ea3a77e (patch) | |
tree | 70fbc48208a144313ee00e6fc9a08b6d8cb00dec /actionpack | |
parent | 26bdcf7299a44b45242e2e4be209b325cfe6bfb4 (diff) | |
download | rails-e5e2ba14c31f3eb97e5fba31a50da8d26ea3a77e.tar.gz rails-e5e2ba14c31f3eb97e5fba31a50da8d26ea3a77e.tar.bz2 rails-e5e2ba14c31f3eb97e5fba31a50da8d26ea3a77e.zip |
Don't use assert_block method. It will be deprecated.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/ts_isolated.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/ts_isolated.rb b/actionpack/test/ts_isolated.rb index 595b4018e9..c44c5d8968 100644 --- a/actionpack/test/ts_isolated.rb +++ b/actionpack/test/ts_isolated.rb @@ -9,7 +9,7 @@ class TestIsolated < ActiveSupport::TestCase define_method("test #{file}") do command = "#{ruby} -Ilib:test #{file}" result = silence_stderr { `#{command}` } - assert_block("#{command}\n#{result}") { $?.to_i.zero? } + assert $?.to_i.zero?, "#{command}\n#{result}" end end end |