cucumber feature for accepting a contact request.

This commit is contained in:
Sarah Mei 2010-11-17 21:34:47 -08:00
parent 9041a81fea
commit 2949dd8796
2 changed files with 4 additions and 5 deletions

View file

@ -6,10 +6,10 @@ Feature: managing contact requests
And I have one contact request
Scenario: seeing contact requests
When I am on the home page
Then I should see "Manage (1)" in the header
When I am on the home page
Then I should see "Manage (1)" in the header
@javascript @wip
@javascript
Scenario: accepting a contact request
When I am on the home page
And I follow "Manage (1)"

View file

@ -27,6 +27,5 @@ When /^I wait for the aspects page to load$/ do
end
When /^I wait for the ajax to finish$/ do
pending
# wait_until { ??? }
wait_until { evaluate_script("$.active") == 0 }
end