mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
tests, test should not care wether 9ms or 11ms have passed.
This solves: ``` Expected /Completed 200 OK in [\d]ms/ to match "Completed 200 OK in 943ms". ```
This commit is contained in:
parent
b7f547e64a
commit
23bb31b158
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class ACLogSubscriberTest < ActionController::TestCase
|
|||
def test_process_action_with_view_runtime
|
||||
get :show
|
||||
wait
|
||||
assert_match(/Completed 200 OK in [\d]ms/, logs[1])
|
||||
assert_match(/Completed 200 OK in \d+ms/, logs[1])
|
||||
end
|
||||
|
||||
def test_append_info_to_payload_is_called_even_with_exception
|
||||
|
|
Loading…
Reference in a new issue