Fix style and misspell in action dispatch executor test
This commit is contained in:
parent
f9a2ad0394
commit
d9a38662bd
|
@ -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"] })
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue