fix some tests

This commit is contained in:
Maxwell Salzberg 2012-05-03 20:07:30 -07:00
parent 273470e6ed
commit fa1897112b
2 changed files with 2 additions and 3 deletions

View file

@ -13,5 +13,4 @@ Feature: user authentication
Given I am signed in
And I click on my name in the header
And I follow "Log out"
Then I should be on the logged out page
And I should see "Now go mobile."
Then I should be on the new user session page

View file

@ -150,7 +150,7 @@ Then /^the post should mention "([^"]*)"$/ do |user_name|
end
When /^I click the "([^"]*)" post$/ do |post_text|
find(".content:contains('#{post_text}')").click
find(".content:contains('#{post_text}') .permalink").click
end
Then /^"([^"]*)" should be the first canvas frame$/ do |post_text|