aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2016-07-29 13:59:40 -0700
committerDavid Heinemeier Hansson <david@loudthinking.com>2016-07-29 13:59:40 -0700
commit4139b144927b2b3921a7382b7c42904ca4caf191 (patch)
tree9ea70e24ea3c28f54c4fa4dd03dcaa1af10deb79 /activejob/test
parent5ce59f456f4c77b93df69d617f9f20a62546b13e (diff)
downloadrails-4139b144927b2b3921a7382b7c42904ca4caf191.tar.gz
rails-4139b144927b2b3921a7382b7c42904ca4caf191.tar.bz2
rails-4139b144927b2b3921a7382b7c42904ca4caf191.zip
Satisfy pedantic rubocop whitespace detection
Diffstat (limited to 'activejob/test')
-rw-r--r--activejob/test/cases/exceptions_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activejob/test/cases/exceptions_test.rb b/activejob/test/cases/exceptions_test.rb
index 42d4dd78a5..43f16b6e59 100644
--- a/activejob/test/cases/exceptions_test.rb
+++ b/activejob/test/cases/exceptions_test.rb
@@ -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