Skip to content

Instantly share code, notes, and snippets.

@timhaines
Last active January 18, 2017 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timhaines/247613c01c3436d3f26e9d5dab1ad2c0 to your computer and use it in GitHub Desktop.
Save timhaines/247613c01c3436d3f26e9d5dab1ad2c0 to your computer and use it in GitHub Desktop.
it 'can display busy workers' do
get '/busy'
assert_equal(200, last_response.status)
assert_match(/status-active/, last_response.body)
assert_match(/critical/, last_response.body)
assert_match(/WebWorker/, last_response.body)
assert_match(/Quiet/, last_response.body)
assert_match(/Stop/, last_response.body)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment