diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-20 03:16:13 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-20 03:16:13 +0300 |
commit | f4a98ea9d1efd0e3aa8593cfe8e49b062dad1616 (patch) | |
tree | 5db7581a8092c18f5ffb29a173deca178466d1fc /spec/features/issues | |
parent | 006b477f94926ba9a03e50912a98ef54d150658e (diff) |
Fix issue create new branch
Diffstat (limited to 'spec/features/issues')
-rw-r--r-- | spec/features/issues/user_creates_branch_and_merge_request_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/issues/user_creates_branch_and_merge_request_spec.rb b/spec/features/issues/user_creates_branch_and_merge_request_spec.rb index 539d7e9ff01..3dfcbc2fcb8 100644 --- a/spec/features/issues/user_creates_branch_and_merge_request_spec.rb +++ b/spec/features/issues/user_creates_branch_and_merge_request_spec.rb @@ -139,8 +139,8 @@ describe 'User creates branch and merge request on issue page', :js do end it 'disables the create branch button' do - expect(page).to have_css('.create-mr-dropdown-wrap .unavailable:not(.hide)') - expect(page).to have_css('.create-mr-dropdown-wrap .available.hide', visible: false) + expect(page).to have_css('.create-mr-dropdown-wrap .unavailable:not(.hidden)') + expect(page).to have_css('.create-mr-dropdown-wrap .available.hidden', visible: false) expect(page).to have_content /1 Related Merge Request/ end end |