diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2016-08-02 12:28:16 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2016-08-02 12:28:16 -0700 |
commit | 111227c0dfb72b060428063e35d865b62338654a (patch) | |
tree | 5af12c47ec4be958ec6bdc4b907b410257e51b39 /activejob/test | |
parent | 3118911335c20b57bee031e4add2a0551c3e3416 (diff) | |
download | rails-111227c0dfb72b060428063e35d865b62338654a.tar.gz rails-111227c0dfb72b060428063e35d865b62338654a.tar.bz2 rails-111227c0dfb72b060428063e35d865b62338654a.zip |
Please Rubocup
Diffstat (limited to 'activejob/test')
-rw-r--r-- | activejob/test/cases/exceptions_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activejob/test/cases/exceptions_test.rb b/activejob/test/cases/exceptions_test.rb index 3df4f04bec..9ad73ff93c 100644 --- a/activejob/test/cases/exceptions_test.rb +++ b/activejob/test/cases/exceptions_test.rb @@ -44,7 +44,7 @@ class ExceptionsTest < ActiveSupport::TestCase RetryJob.perform_later 'DiscardableError', 2 assert_equal "Raised DiscardableError for the 1st time", JobBuffer.last_value end - + test "custom handling of job that exceeds retry attempts" do RetryJob.perform_later 'CustomCatchError', 6 assert_equal "Dealt with a job that failed to retry in a custom way", JobBuffer.last_value @@ -87,4 +87,4 @@ class ExponentiallyBackoffExceptionsTest < ActiveJob::TestCase end end end -end
\ No newline at end of file +end |