aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/cases/exceptions_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2016-08-02 12:28:16 -0700
committerDavid Heinemeier Hansson <david@loudthinking.com>2016-08-02 12:28:16 -0700
commit111227c0dfb72b060428063e35d865b62338654a (patch)
tree5af12c47ec4be958ec6bdc4b907b410257e51b39 /activejob/test/cases/exceptions_test.rb
parent3118911335c20b57bee031e4add2a0551c3e3416 (diff)
downloadrails-111227c0dfb72b060428063e35d865b62338654a.tar.gz
rails-111227c0dfb72b060428063e35d865b62338654a.tar.bz2
rails-111227c0dfb72b060428063e35d865b62338654a.zip
Please Rubocup
Diffstat (limited to 'activejob/test/cases/exceptions_test.rb')
-rw-r--r--activejob/test/cases/exceptions_test.rb4
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