diff --git a/features/logs_in_and_out.feature b/features/logs_in_and_out.feature index 50f174918..f63936424 100644 --- a/features/logs_in_and_out.feature +++ b/features/logs_in_and_out.feature @@ -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." \ No newline at end of file + Then I should be on the new user session page diff --git a/features/step_definitions/trumpeter_steps.rb b/features/step_definitions/trumpeter_steps.rb index 5e9862d45..bd88d6c3a 100644 --- a/features/step_definitions/trumpeter_steps.rb +++ b/features/step_definitions/trumpeter_steps.rb @@ -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|