From 653f7566dfd1e5fdaecc363cbc53ee49dbeb7b9d Mon Sep 17 00:00:00 2001 From: Florian Staudacher Date: Wed, 5 Jun 2013 00:14:53 +0200 Subject: [PATCH] fix failing conversations cuke --- features/step_definitions/conversations_steps.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/features/step_definitions/conversations_steps.rb b/features/step_definitions/conversations_steps.rb index d3d9d8c96..b406f880f 100644 --- a/features/step_definitions/conversations_steps.rb +++ b/features/step_definitions/conversations_steps.rb @@ -42,14 +42,10 @@ Then /^I should see the participants popover$/ do end Then /^I should see "([^"]*)" as part of the participants popover$/ do |name| - within(".conversation_participants_popover") do - find("img.avatar[title^='#{name}']").should_not be_nil - end + find(".conversation_participants_popover img.avatar[title^='#{name}']").should_not be_nil end Then /^I close the participants popover$/ do - within('.popover-title') do - find('.close').click - end + find('.popover-title .close').click end