fix failing conversations cuke

This commit is contained in:
Florian Staudacher 2013-06-05 00:14:53 +02:00
parent 9cbfee9408
commit 653f7566df

View file

@ -42,14 +42,10 @@ Then /^I should see the participants popover$/ do
end end
Then /^I should see "([^"]*)" as part of the participants popover$/ do |name| Then /^I should see "([^"]*)" as part of the participants popover$/ do |name|
within(".conversation_participants_popover") do find(".conversation_participants_popover img.avatar[title^='#{name}']").should_not be_nil
find("img.avatar[title^='#{name}']").should_not be_nil
end
end end
Then /^I close the participants popover$/ do Then /^I close the participants popover$/ do
within('.popover-title') do find('.popover-title .close').click
find('.close').click
end
end end