Actions
Bug #12672
closedkatello_url_helper ruby 2.2.2 compatible
Description
When running the specs for models/provider_spec.rb with ruby 2.2.2 there is a test failure.
it "'https://'" do
@provider.repository_url = "https://"
@provider.wont_be :valid?
end
ruby 2.0 and 2.1 throw an exception when parsing the url "https://". This exception is caught and the method returns false. The intended behavior.
ruby 2.2.2 there is no exception thrown and thus the url is considered valid. This is not the intended behavior.
Actions