rootstrap/rails_api_base

View on GitHub
spec/routing/impersonations_routing_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

describe API::V1::ImpersonationsController do
  describe 'routing' do
    it 'routes to #create' do
      expect(post: '/api/v1/impersonations/').to route_to('api/v1/impersonations#create', format: :json)
    end
  end
end