nlhkabu / connect

Connect is a moderated web application that helps members connect with each other based on skills, interests and location.
http://whoisnicoleharris.com/connect/
BSD 3-Clause "New" or "Revised" License
46 stars 25 forks source link

Remove `context.server_url` and use built in `context.config.server_url` #54

Closed nlhkabu closed 9 years ago

nlhkabu commented 9 years ago

Currently I am hardcoding the server url here: https://github.com/nlhkabu/connect/blob/master/bdd/features/environment.py#L31

I recently found out that this value is actually set by default as context.config.server_url.

So - this means we can replace any instances of context.server_url to context.config.server_url and remove the hardcoding