Skip to content
Extraits de code Groupes Projets
Valider 3f42c5bd rédigé par zhitomirskiyi's avatar zhitomirskiyi
Parcourir les fichiers

fixed cucumber features

parent ced2c18d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -11,13 +11,13 @@ Given /^a user with email "([^\"]*)"$/ do |email|
end
Given /^I have been invited by an admin$/ do
@me = Invitation.create_invitee(:email => "new_invitee@example.com")
@me = Invitation.create_invitee(:service => 'email', :identifier => "new_invitee@example.com")
end
Given /^I have been invited by a user$/ do
@inviter = Factory(:user)
aspect = @inviter.aspects.create(:name => "Rocket Scientists")
@me = @inviter.invite_user("new_invitee@example.com", aspect.id, "Hey, tell me about your rockets!")
@me = @inviter.invite_user(aspect.id, 'email', "new_invitee@example.com", "Hey, tell me about your rockets!")
end
When /^I click on my name$/ do
......
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