mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
show error class on retry page (#3348)
This commit is contained in:
parent
c4a854cac8
commit
c1fcb29b3d
2 changed files with 2 additions and 1 deletions
|
@ -219,6 +219,7 @@ class TestWeb < Sidekiq::Test
|
|||
visit "/retries/#{job_params(*params)}"
|
||||
assert_equal 200, page.status_code
|
||||
assert_text('HardWorker')
|
||||
assert_text('RuntimeError')
|
||||
snapshot(page, name: 'Single Retry Page')
|
||||
end
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<tr>
|
||||
<th><%= t('ErrorClass') %></th>
|
||||
<td>
|
||||
<code><%= h @retry.display_class %></code>
|
||||
<code><%= h @retry['error_class'] %></code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
Loading…
Add table
Reference in a new issue