If you are using rspec, then the most natural place for routing tests is in the directory spec/routing
. From The Rspec documentation:
Routing specs are marked by :type => :routing
or if you have set
config.infer_spec_type_from_file_location!
by placing them in spec/routing.