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.
Updated by The Foreman Bot almost 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5640 added
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86
- Triaged changed from No to Yes
Updated by Eric Helms over 8 years ago
- Has duplicate Bug #12564: URI does not downcase scheme in Rails 4 added
Updated by Eric Helms over 8 years ago
- Status changed from Ready For Testing to Resolved
Actions