1
0
Fork 0
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:
Mike Perham 2013-02-20 12:04:19 -08:00
parent c9692879a2
commit 041f93a902

View file

@ -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