Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a test involving the Mission Creek Cafe #608

Merged

Commits on Dec 24, 2019

  1. restrooms_spec.rb: Fix a test

    Background:
    
    The Mission Creek Cafe in San Francisco has been closed for some time.
    
    Google Maps API now resolves "Mission Creek Cafe"
    to a coffee shop in Washington state.
    
    Washington is too far away from our stub restroom entries;
    No stub restrooms are located near Washington,
    so no restroom results are shown on our results page for this search.
    
    The test expects to see a stub restroom entry on the reults page,
    but does not see it, and so the test fails.
    
    ---
    
    Fix:
    
    search the Maps API for "San Francisco," not "Mission Creek Cafe"
    
    (This returns a lat/long associated with San Francisco not Washington)
    DeeDeeG committed Dec 24, 2019
    Configuration menu
    Copy the full SHA
    ee5c7d1 View commit details
    Browse the repository at this point in the history