glossier / solidus_retail

Solidus Extension to Support Retail Operations
BSD 3-Clause "New" or "Revised" License
8 stars 4 forks source link

Remove the expected headers from request stubbing #67

Closed thisiscab closed 7 years ago

thisiscab commented 7 years ago

There was an issue where the headers that were expected in order for the requests to be stubbed were invalid. I've decided to remove the instead of putting the right headers, since we don't totally care about what headers the request must have in order for it to be mocked.

We want it to be more generic and always mock the request based on the URL/VERB of the request and not also based on the HEADERS. At least for now!