fixed some cukes

This commit is contained in:
danielgrippi 2011-11-02 22:17:58 -07:00
parent 07f713f46c
commit 1ac5c7af62
4 changed files with 5 additions and 5 deletions

View file

@ -10,6 +10,7 @@ Feature: Blocking a user from the stream
Scenario: Blocking a user
When I sign in as "bob@bob.bob"
And I am on the home page
And I preemptively confirm the alert
And I wait for the ajax to finish
When I click on the first block button
And I am on the home page

View file

@ -52,7 +52,6 @@ Feature: commenting
And I preemptively confirm the alert
And I click to delete the first comment
And I wait for the ajax to finish
And I wait for 2 seconds
Then I should not see "is that a poodle?"
Scenario: expand the comment form in the main stream and an individual aspect stream

View file

@ -58,7 +58,7 @@ And /^I hover over the "([^"]+)"$/ do |element|
end
When /^I click to delete the first post$/ do
page.execute_script('$(".stream_element").first().find(".stream_element_delete").first().click()')
page.execute_script('$(".stream_element").first().find(".remove_post").first().click()')
end
When /^I click to delete the first comment$/ do

View file

@ -32,5 +32,5 @@ When /^The user deletes their first post$/ do
end
When /^I click on the first block button/ do
find(".block_button").click
find(".block_user").click
end