Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Navigating to pages
- #
- visit '/account'
- visit account_path(account)
- #
- # Assertions (URL)
- #
- expect(page).to have_current_path('user/edit')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement