mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fix dashboard tests
This commit is contained in:
parent
c9692879a2
commit
041f93a902
1 changed files with 4 additions and 4 deletions
|
@ -28,8 +28,8 @@ class TestWeb < MiniTest::Unit::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
it 'can display home' do
|
||||
get '/'
|
||||
it 'can display workers' do
|
||||
get '/workers'
|
||||
assert_equal 200, last_response.status
|
||||
assert_match /status-idle/, last_response.body
|
||||
end
|
||||
|
@ -194,8 +194,8 @@ class TestWeb < MiniTest::Unit::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
it 'can display the dashboard' do
|
||||
get '/dashboard'
|
||||
it 'can display home' do
|
||||
get '/'
|
||||
assert_equal 200, last_response.status
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue