diff options
Diffstat (limited to 'test/integration/lib/redmine/menu_manager_test.rb')
-rw-r--r-- | test/integration/lib/redmine/menu_manager_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/lib/redmine/menu_manager_test.rb b/test/integration/lib/redmine/menu_manager_test.rb index d52fef2d5..0b01f5d7f 100644 --- a/test/integration/lib/redmine/menu_manager_test.rb +++ b/test/integration/lib/redmine/menu_manager_test.rb @@ -77,4 +77,11 @@ class MenuManagerTest < Redmine::IntegrationTest get '/login' assert_select '#main-menu', 0 end + + def test_body_should_have_main_menu_css_class_if_main_menu_is_present + get '/projects' + assert_select 'body.has-main-menu' + get '/' + assert_select 'body.has-main-menu', 0 + end end |