Fix style and misspell in action dispatch executor test

This commit is contained in:
Gannon McGibbon 2022-02-11 14:53:46 -05:00
parent f9a2ad0394
commit d9a38662bd
1 changed files with 2 additions and 2 deletions

View File

@ -119,13 +119,13 @@ class ExecutorTest < ActiveSupport::TestCase
assert_not defined?(@in_shared_context) # it's not in the test itself assert_not defined?(@in_shared_context) # it's not in the test itself
end end
def test_body_abandonned def test_body_abandoned
total = 0 total = 0
ran = 0 ran = 0
completed = 0 completed = 0
executor.to_run { total += 1; ran += 1 } executor.to_run { total += 1; ran += 1 }
executor.to_complete { total += 1; completed += 1} executor.to_complete { total += 1; completed += 1 }
stack = middleware(proc { [200, {}, "response"] }) stack = middleware(proc { [200, {}, "response"] })