operationcode_backend icon indicating copy to clipboard operation
operationcode_backend copied to clipboard

Https code school url validation

Open garyray-k opened this issue 6 years ago • 1 comments

Description of changes

Small change to the Makefile with comments that can help anyone debugging to output verbose tests or test just one when running make test

Updated the code_school.rb model to have URL validation for HTTPS. Uses Regex to accomplish this. Added a test to ensure that it will throw an error when a HTTP address is given. Updated the Code School Factory Faker for URL to generate HTTPS urls for mock data in testing

Issue Resolved

Fixes #436

garyray-k avatar May 04 '19 00:05 garyray-k

Whoops. Didn't mean to close the un-merged PR... :confused:

garyray-k avatar May 04 '19 09:05 garyray-k