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
|
Given I am signed in
|
||||||
And I click on my name in the header
|
And I click on my name in the header
|
||||||
And I follow "Log out"
|
And I follow "Log out"
|
||||||
Then I should be on the logged out page
|
Then I should be on the new user session page
|
||||||
And I should see "Now go mobile."
|
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,7 @@ Then /^the post should mention "([^"]*)"$/ do |user_name|
|
||||||
end
|
end
|
||||||
|
|
||||||
When /^I click the "([^"]*)" post$/ do |post_text|
|
When /^I click the "([^"]*)" post$/ do |post_text|
|
||||||
find(".content:contains('#{post_text}')").click
|
find(".content:contains('#{post_text}') .permalink").click
|
||||||
end
|
end
|
||||||
|
|
||||||
Then /^"([^"]*)" should be the first canvas frame$/ do |post_text|
|
Then /^"([^"]*)" should be the first canvas frame$/ do |post_text|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue