diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-20 21:15:09 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-20 21:15:09 +0300 |
commit | 87d4d93fcb380a91416fa49a77a50cf8da17e2be (patch) | |
tree | ac7364a51db2b6ff23555a8af0af590ab112189a /spec/features/explore/new_menu_spec.rb | |
parent | 5982dcdd940ccec0e0e33379a82222af36ab666e (diff) |
Fix new menu spec
Diffstat (limited to 'spec/features/explore/new_menu_spec.rb')
-rw-r--r-- | spec/features/explore/new_menu_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/explore/new_menu_spec.rb b/spec/features/explore/new_menu_spec.rb index 8d5233d0c0f..2516db5422f 100644 --- a/spec/features/explore/new_menu_spec.rb +++ b/spec/features/explore/new_menu_spec.rb @@ -66,7 +66,7 @@ feature 'Top Plus Menu', :js do page.within '.header-content' do find('.header-new-dropdown-toggle').click - expect(page).to have_selector('.header-new.dropdown.open', count: 1) + expect(page).to have_selector('.header-new.dropdown.show', count: 1) find('.header-new-project-snippet a').click end @@ -88,7 +88,7 @@ feature 'Top Plus Menu', :js do page.within '.header-content' do find('.header-new-dropdown-toggle').click - expect(page).to have_selector('.header-new.dropdown.open', count: 1) + expect(page).to have_selector('.header-new.dropdown.show', count: 1) find('.header-new-group-project a').click end @@ -156,7 +156,7 @@ feature 'Top Plus Menu', :js do def click_topmenuitem(item_name) page.within '.header-content' do find('.header-new-dropdown-toggle').click - expect(page).to have_selector('.header-new.dropdown.open', count: 1) + expect(page).to have_selector('.header-new.dropdown.show', count: 1) click_link item_name end end |