zachfeldman / rubypress

Ruby interface for the WordPress XMLRPC API. Follows standard XML-RPC Documentation closely.
201 stars 55 forks source link

Tests cannot run against HTTPS hosts #38

Closed botimer closed 9 years ago

botimer commented 9 years ago

All of the client code supports SSL/HTTPS, but the spec helper does not read enough settings from the environment to allow testing against HTTPS hosts.

Reading from WORDPRESS_PORT and WORDPRESS_USE_SSL and defaulting to the current literals preserves the current behavior while allowing tests to run against HTTPS servers.