Skip to content
Extraits de code Groupes Projets
Valider 1e7f9fa4 rédigé par Raphael Sofaer's avatar Raphael Sofaer
Parcourir les fichiers

Get rid of duplicate step definition.

parent 54a5d963
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -111,13 +111,6 @@ Then /^I should have (\d) contacts? in "([^"]*)"$/ do |n_contacts, aspect_name|
@me.aspects.where(:name => aspect_name).first.contacts.count.should == n_contacts.to_i
end
Given /^I have (\d) contacts?$/ do |count|
count.to_i.times do
u = Factory(:user_with_aspect)
u.share_with(@me.person, u.aspects.first)
end
end
When /^I (add|remove|toggle) the person (to|from) my ([\d])(nd|rd|st|th) aspect$/ do |word1, word2, aspect_number, nd|
steps %Q{
And I press the first ".toggle.button"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter