testing invalid URLs #8
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Scenario
Given I am on the homepage
When I type an invalid URL
And I submit the form
I should be redirected to the homepage with an error message that the URL was not correct
should this include non-existing URLs as well as existing ones? (i.e. a URL format that is correct, but that doesn't exist as an actual page vs an actual URL that exists and can be visited).
closed by bucky/url-shortener#18
was closed prematurely because i was working on another part for the empty url validation.
https://medium.com/@henryyihengzhang/validating-urls-in-ruby-c3e4646c6494 has a few options.