diff options
author | Raphael Sofaer <raphael@joindiaspora.com> | 2011-07-30 04:59:25 +0400 |
---|---|---|
committer | Raphael Sofaer <raphael@joindiaspora.com> | 2011-07-30 04:59:25 +0400 |
commit | 1e7f9fa43cd8aebeaacc87e909ebe411011ab548 (patch) | |
tree | 9714fc86f0803e22199bdde7cd78918ff4d777e8 /features | |
parent | 54a5d9639195bb5e14699fca4b8f6bda8fc0e149 (diff) |
Get rid of duplicate step definition.
Diffstat (limited to 'features')
-rw-r--r-- | features/step_definitions/user_steps.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/features/step_definitions/user_steps.rb b/features/step_definitions/user_steps.rb index 6666a54a6..951b255c1 100644 --- a/features/step_definitions/user_steps.rb +++ b/features/step_definitions/user_steps.rb @@ -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" |