Closed lsaville closed 7 years ago
@Cdunagan05 @mscherer11 @alishersadikov This PR also takes care of dynamic distance selection for choosing the radius around and given zip-code from which to search.
Additionally I reinvigorated a non-functional test 'user_can_filter_company_industry_spec' to use :js => true
and got it passing.
Looks good. We'll get the testing figured out at a later time.
@mscherer11 @Cdunagan05 @alishersadikov This PR: -Finishes the functionality for filtering companies based on a 10 miles radius of a given zip-code. -Includes testing and functionality for unchecking the 'companies within' and having it re-filter when that happens. -Includes validation of the search zip-code (U.S. only) with a message prompting the user to 'Please enter a valid zipcode' if validation failed. -Sets up selenium testing (which we'll have to work out on an individual machine basis because you need to have firefox 41.0 installed installed.