mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-23 09:18:44 +02:00
Lint web
This commit is contained in:
@@ -39,9 +39,10 @@ describe Crono::Web do
|
||||
end
|
||||
|
||||
it 'should show a message about the unhealthy job' do
|
||||
message = 'An error occurs during the last execution of this job'
|
||||
@test_job.update(healthy: false)
|
||||
get "/job/#{@test_job.id}"
|
||||
expect(last_response.body).to include 'An error occurs during the last execution of this job'
|
||||
expect(last_response.body).to include message
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user