Skip to content

Commit

Permalink
Fix 'I should be signed in' feature step
Browse files Browse the repository at this point in the history
  • Loading branch information
esoterik committed Jul 13, 2018
1 parent 6792e6c commit c40d3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/step_definitions/user_steps.rb
Expand Up @@ -81,7 +81,7 @@ def create_an_email_campaign
end

Then(/^I should be signed in$/) do
expect(page).to have_content "Logout"
expect(page).to have_selector 'input[type="submit"][value="Logout"]'
expect(page).not_to have_content "Sign up"
expect(page).not_to have_content "Login"
end
Expand Down

0 comments on commit c40d3f0

Please sign in to comment.