1.9.2 doesn't like friending people when the target doesn't have any aspects. ::sigh:: And with that, I fix the cucumber feature that was failing under 1.9.
This commit is contained in:
parent
9fa47c9bfa
commit
686cea6595
4 changed files with 299 additions and 299 deletions
|
|
@ -353,7 +353,7 @@ GEM
|
|||
eventmachine (>= 0.12.6)
|
||||
rack (>= 1.0.0)
|
||||
thor (0.14.4)
|
||||
treetop (1.4.8)
|
||||
treetop (1.4.9)
|
||||
polyglot (>= 0.3.1)
|
||||
twitter (0.9.12)
|
||||
hashie (~> 0.4.0)
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ Feature: managing contact requests
|
|||
|
||||
Background:
|
||||
Given I am signed in
|
||||
And I have an aspect called "Family"
|
||||
And I have one contact request
|
||||
|
||||
Scenario: seeing contact requests
|
||||
|
|
@ -10,8 +11,6 @@ Feature: managing contact requests
|
|||
|
||||
@javascript @wip
|
||||
Scenario: accepting a contact request
|
||||
Given I have an aspect called "Family"
|
||||
|
||||
When I am on the home page
|
||||
And I follow "Manage (1)"
|
||||
Then I should see 1 contact request
|
||||
|
|
|
|||
|
|
@ -14,10 +14,11 @@ end
|
|||
|
||||
Given /^I have one contact request$/ do
|
||||
other_user = make_user
|
||||
other_user.aspects.create!(:name => "meh")
|
||||
other_aspect = other_user.aspects.create!(:name => "meh")
|
||||
other_user.send_contact_request_to(@me.person, other_aspect)
|
||||
|
||||
other_user.reload
|
||||
|
||||
other_user.send_contact_request_to(@me.person, other_user.aspects.first)
|
||||
other_aspect.reload
|
||||
@me.reload
|
||||
end
|
||||
|
||||
|
|
|
|||
586
spec/fixtures/users.yaml
vendored
586
spec/fixtures/users.yaml
vendored
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue