gitlab-org--gitlab-foss/spec/lib/gitlab/metrics
Rémy Coutable 892ff3a3ae
Check for env[Grape::Env::GRAPE_ROUTING_ARGS] instead of endpoint.route
`endpoint.route` is calling `env[Grape::Env::GRAPE_ROUTING_ARGS][:route_info]`
but `env[Grape::Env::GRAPE_ROUTING_ARGS]` is `nil` in the case of a 405 response

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-12 23:15:25 -05:00
..
subscribers
delta_spec.rb
instrumentation_spec.rb
method_call_spec.rb
metric_spec.rb
rack_middleware_spec.rb Check for env[Grape::Env::GRAPE_ROUTING_ARGS] instead of endpoint.route 2017-01-12 23:15:25 -05:00
sampler_spec.rb
sidekiq_middleware_spec.rb
system_spec.rb
transaction_spec.rb