1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Satisfy pedantic rubocop whitespace detection

This commit is contained in:
David Heinemeier Hansson 2016-07-29 13:59:40 -07:00
parent 5ce59f456f
commit 4139b14492
2 changed files with 6 additions and 6 deletions

View file

@ -5,8 +5,8 @@ module ActiveJob
module ClassMethods
# Catch the exception and reschedule job for re-execution after so many seconds, for a specific number of attempts.
# If the exception keeps getting raised beyond the specified number of attempts, the exception is allowed to
# bubble up to the underlying queuing system, which may have its own retry mechanism or place it in a
# If the exception keeps getting raised beyond the specified number of attempts, the exception is allowed to
# bubble up to the underlying queuing system, which may have its own retry mechanism or place it in a
# holding queue for inspection.
#
# ==== Options

View file

@ -8,9 +8,9 @@ class ExceptionsTest < ActiveSupport::TestCase
test "successfully retry job throwing exception against defaults" do
RetryJob.perform_later 'SeriousError', 5
assert_equal [
"Raised SeriousError for the 1st time",
assert_equal [
"Raised SeriousError for the 1st time",
"Raised SeriousError for the 2nd time",
"Raised SeriousError for the 3rd time",
"Raised SeriousError for the 4th time",
@ -21,7 +21,7 @@ class ExceptionsTest < ActiveSupport::TestCase
RetryJob.perform_later 'VerySeriousError', 9
assert_equal 9, JobBuffer.values.count
end
test "failed retry job when exception kept occurring against defaults" do
begin
RetryJob.perform_later 'SeriousError', 6