Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Sofaer <raphael@joindiaspora.com>2011-07-30 04:59:25 +0400
committerRaphael Sofaer <raphael@joindiaspora.com>2011-07-30 04:59:25 +0400
commit1e7f9fa43cd8aebeaacc87e909ebe411011ab548 (patch)
tree9714fc86f0803e22199bdde7cd78918ff4d777e8 /features
parent54a5d9639195bb5e14699fca4b8f6bda8fc0e149 (diff)
Get rid of duplicate step definition.
Diffstat (limited to 'features')
-rw-r--r--features/step_definitions/user_steps.rb7
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"