From 46eefbda3ae55394bae63872c8ff3d86500a1ddc Mon Sep 17 00:00:00 2001 From: Jose Ivan Vargas Date: Mon, 20 Feb 2017 09:39:23 -0600 Subject: Moved the dismiss-icon listener to close the callout to a button --- spec/features/user_callout_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/features/user_callout_spec.rb') 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 -- cgit v1.2.3