From 5854ab2f7da76804a3221d962979cab67aef65c4 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Fri, 16 Jun 2017 23:08:27 -0700 Subject: Convert variants of trigger('click') -> click --- features/steps/profile/notifications.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/steps/profile') diff --git a/features/steps/profile/notifications.rb b/features/steps/profile/notifications.rb index 7e339443b75..f8eb0f01de8 100644 --- a/features/steps/profile/notifications.rb +++ b/features/steps/profile/notifications.rb @@ -11,7 +11,7 @@ class Spinach::Features::ProfileNotifications < Spinach::FeatureSteps end step 'I select Mention setting from dropdown' do - first(:link, "On mention").trigger('click') + first(:link, "On mention").click end step 'I should see Notification saved message' do -- cgit v1.2.1