mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
10 lines
211 B
Ruby
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
|