diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-02-20 18:39:23 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-02-24 00:47:23 +0300 |
commit | 46eefbda3ae55394bae63872c8ff3d86500a1ddc (patch) | |
tree | 6963d814927f6205836849b8226420b79d70b7a8 /spec/features | |
parent | bcab4bb5efd1cc499dc7d753115fe91b98f27bda (diff) |
Moved the dismiss-icon listener to close the callout to a button
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/user_callout_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/user_callout_spec.rb b/spec/features/user_callout_spec.rb index 53a87d3c224..336c4092c98 100644 --- a/spec/features/user_callout_spec.rb +++ b/spec/features/user_callout_spec.rb @@ -30,7 +30,7 @@ describe 'User Callouts', js: true do it 'hides the user callout when click on the dismiss icon' do visit user_path(user) within('.user-callout') do - find('.dismiss-icon').click + find('.close-user-callout').click end expect(page).not_to have_selector('#user-callout') end |