1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/lib/shoulda/matchers/routing.rb

10 lines
211 B
Ruby

module Shoulda
module Matchers
# @private
module Routing
def route(method, path, port: nil)
ActionController::RouteMatcher.new(self, method, path, port: port)
end
end
end
end