Basic spec for rails_route_from_url (PR #10558)

GitHub

I’m not sure how I feel about this force_encoding. Is there a better way to do it?

I think it’s probably ok