Refactored tests to check if http type (http or https) matches response, instead of blindly checking for https.
Refactored tests to check if http type (http or https) matches response, instead of blindly checking for https.

glennmatthews/opscode-omnitruck,chef/opscode-omnitruck,juliandunn/opscode-omnitruck,chef/omnitruck,rhass/opscode-omnitruck,rhass/opscode-omnitruck,chef/omnitruck,glennmatthews/opscode-omnitruck,chef/opscode-omnitruck,rhass/opscode-omnitruck,chef/omnitruck,chef/opscode-omnitruck,glennmatthews/opscode-omnitruck,juliandunn/opscode-omnitruck,juliandunn/opscode-omnitruck