Set real api endpoint in production, use mocking endpoint for specs.