Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-03-30 20:28:36 +0300
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-03-30 20:28:57 +0300
commitf79687ea9763a7c7f5ade988ed76b0128de9098e (patch)
tree447eeff257bed88a5d4dee14922680aca9c44b14 /features
parent0591a7820beaa8e710e9239e7a455eba529797c6 (diff)
Clear .todo listener
Diffstat (limited to 'features')
-rw-r--r--features/steps/dashboard/todos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/dashboard/todos.rb b/features/steps/dashboard/todos.rb
index 5c30d8e0c72..30b21b93ac7 100644
--- a/features/steps/dashboard/todos.rb
+++ b/features/steps/dashboard/todos.rb
@@ -89,7 +89,7 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps
end
step 'I click on the todo' do
- execute_script("$('.todo:nth-child(1)').click()")
+ find('.todo:nth-child(1)').click
end
step 'I should be directed to the corresponding page' do