fix resolve_url_spec.rb for my changes