Get rid of duplicate step definition.
This commit is contained in:
parent
54a5d96391
commit
1e7f9fa43c
1 changed files with 0 additions and 7 deletions
|
|
@ -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
|
@me.aspects.where(:name => aspect_name).first.contacts.count.should == n_contacts.to_i
|
||||||
end
|
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|
|
When /^I (add|remove|toggle) the person (to|from) my ([\d])(nd|rd|st|th) aspect$/ do |word1, word2, aspect_number, nd|
|
||||||
steps %Q{
|
steps %Q{
|
||||||
And I press the first ".toggle.button"
|
And I press the first ".toggle.button"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue