fix some tests
This commit is contained in:
parent
273470e6ed
commit
fa1897112b
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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|
|
||||
|
|
|
|||
Loading…
Reference in a new issue