Adam Townsend
|
144731062b
|
added URL validation to webpage part
|
2023-10-12 23:42:52 -07:00 |
Adam Townsend
|
72f3e03edd
|
added tests for invalid URL entries
+ URL that returns a 404
+ URL where the domain does not resolve with DNS
+ URL that is not properly formatted
|
2023-10-12 23:42:04 -07:00 |
Adam Townsend
|
b08693e866
|
remove the puts, don't print out the test result
|
2023-10-12 23:41:38 -07:00 |
Adam Townsend
|
ae2360a480
|
include the proper status code
|
2023-10-12 23:31:15 -07:00 |
Adam Townsend
|
213265a5d0
|
added test for submitting with the wrong content type header
|
2023-10-12 23:30:47 -07:00 |
Adam Townsend
|
dfb6b23e70
|
run simplecov for rspec tests
|
2023-10-12 23:12:14 -07:00 |
Adam Townsend
|
c81a7a6160
|
added rescue for urls that don't resolve
|
2023-10-12 19:03:03 -07:00 |
Adam Townsend
|
bbb710a5e1
|
added test for bad TLD, better named 404 url test
|
2023-10-12 19:02:38 -07:00 |
Adam Townsend
|
7eaa8eacf8
|
added rescue for OpenURI HTTPErrors
|
2023-10-12 18:26:13 -07:00 |
Adam Townsend
|
d78e361c29
|
added test for validating a url is accessible
|
2023-10-12 18:25:38 -07:00 |
Adam Townsend
|
1ae6c02472
|
rescue BadURIError for invalid URL format
|
2023-10-12 18:20:56 -07:00 |
Adam Townsend
|
11206854ad
|
added test for an invalid url
|
2023-10-12 18:20:35 -07:00 |
Adam Townsend
|
33089e6fbd
|
build HTML output with cucumber and rspec files in root dir
|
2023-10-12 16:25:22 -07:00 |