basecamp / pow

Zero-configuration Rack server for Mac OS X
http://pow.cx/
MIT License
3.41k stars 258 forks source link

How to use pow with minitests? #533

Open siwka opened 8 years ago

siwka commented 8 years ago

In an integration test for APIs I set a host to:

  setup { host! 'api.myapp.dev' }

It causes an error:

URI::InvalidURIError: the scheme http does not accept registry part: api.myapp.dev (or bad hostname?)

It only works if I set tests to localhost.

How to fix it?