From 5a4f9d5b994a468f2f360fb87a8fea2534e135e2 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Thu, 9 Feb 2012 18:03:41 -0800 Subject: [PATCH] fix cuke --- features/step_definitions/custom_web_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/custom_web_steps.rb b/features/step_definitions/custom_web_steps.rb index 5ece903aa..519fbae7c 100644 --- a/features/step_definitions/custom_web_steps.rb +++ b/features/step_definitions/custom_web_steps.rb @@ -50,7 +50,7 @@ When /^I click to delete the first post$/ do end When /^I click to delete the first comment$/ do - page.execute_script('$(".comment").first().find(".comment_delete").click()') + find(".comment").find(".comment_delete").click() end When /^I click to delete the first uploaded photo$/ do